Skip to content
red · warm

#eb031c

a balanced, electric red · warm · closest name: Red

Token name suggestion: True Cherry

RGB
235, 3, 28
HSL
354°, 98%, 47%
CMYK
0, 99, 88, 8
Luminance
0.1781

#eb031c is a balanced electric red, 354° on the wheel and 20/100 on the cool side. Put white text on it (4.60:1). As text it scores 4.60:1 on white — safe at any size. Nearest name is Red, nearest Tailwind family is red.

hsl(354 98% 47%)rgb(235 3 28)Base step 600AA inkWarm

At a glance

Every number on this page in one read: what #eb031c is made of, how bright it looks, and which way it leans.

Hex
#eb031c
Hue
354°
red
Saturation
98%
electric
Lightness
47%
balanced
Brightness
92%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1781
WCAG relative
Temperature
Warm
20/100 cool
Color family
Red
Tone
Electric
Best ink
White
4.60:1
Closest name
Red
ΔE2000 5.8
Chroma
92.7
LCH, 0–130ish
OKLCH L
0.592
perceptual lightness
Tailwind
red
500 · ΔE 7.5
Web-safe
#FF0033
nearest of 216
Where it sits
Hue354° of 360°
Saturation98%
Lightness47%
Saturation × lightness field

Left edge is grey, right edge is full chroma; top is white, bottom is black. The dot is #eb031c.

Temperature
Warm ← → Cool20% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Luminance by channel
Red99%
Green0%
Blue0%

Green carries most of what the eye calls brightness — that is why WCAG weights it 0.7152.

Every format

HEX#eb031c
HEX (8-digit)#eb031cff
RGBrgb(235, 3, 28)
RGBArgba(235, 3, 28, 1)
HSLhsl(354, 98%, 47%)
HSV / HSBhsv(354, 99%, 92%)
HWBhwb(354 1% 8%)
CMYKcmyk(0%, 99%, 88%, 8%)
LABlab(49.3 75.3 54.1)
LCHlch(49.3 92.7 35.7)
OKLCHoklch(0.592 0.240 26.9)
XYZ (D65)xyz(34.51, 17.82, 2.72)
Decimal15401756
Display P3color(display-p3 0.922 0.012 0.110)
Web-safe#FF0033

Copy-ready code

every platformclick to select
/* CSS */
color: #eb031c;
background-color: #eb031c;
/* CSS custom property */
--brand: #eb031c;
/* Tailwind (arbitrary) */
class="text-[#eb031c] bg-[#eb031c]"
/* SCSS */
$brand: #eb031c;
/* SwiftUI */
Color(red: 0.922, green: 0.012, blue: 0.110)
/* UIKit */
UIColor(red: 0.922, green: 0.012, blue: 0.110, alpha: 1)
/* Android XML */
<color name="brand">#EB031C</color>
/* Android Compose */
Color(0xFFEB031C)
/* Flutter */
Color(0xFFEB031C)
/* Python / OpenCV (BGR) */
(28, 3, 235)
/* Python / PIL (RGB) */
(235, 3, 28)
/* Java AWT */
new Color(235, 3, 28)
/* .NET */
Color.FromArgb(255, 235, 3, 28)
/* OpenGL / Unity (0–1) */
(0.9216f, 0.0118f, 0.1098f, 1f)
/* LaTeX */
\definecolor{brand}{RGB}{235,3,28}
modern cssclick to select
/* mix without leaving CSS */
background: color-mix(in oklab, #eb031c 85%, white);
border-color: color-mix(in oklab, #eb031c 40%, transparent);
/* theme-aware in one line */
color: light-dark(#7E020F, #EED3D6);
/* relative colour syntax */
--hover: hsl(from #eb031c h s calc(l - 7));

Design tokens

The same ramp in the four formats a team actually needs. Paste one and the whole palette lands with it.

css custom propertiesclick to select
:root {
  --brand-50: #FDF1F3;
  --brand-100: #FCE4E6;
  --brand-200: #FBC1C7;
  --brand-300: #FE909C;
  --brand-400: #FD596B;
  --brand-500: #FC2139;
  --brand-600: #eb031c;
  --brand-700: #C90318;
  --brand-800: #A10213;
  --brand-900: #740612;
  --brand-950: #49040B;
  --brand: #eb031c;
  --brand-ink: #ffffff;
  --brand-surface: #FAF4F5;
  --brand-border: #EDC0C5;
  --brand-hover: #C80318;
  --brand-pressed: #A50214;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand-surface: #241415;
    --brand-ink: #EED3D6;
  }
}
tailwind.config.jsclick to select
theme: {
  extend: {
    colors: {
      brand: {
        50: '#FDF1F3',
        100: '#FCE4E6',
        200: '#FBC1C7',
        300: '#FE909C',
        400: '#FD596B',
        500: '#FC2139',
        600: '#eb031c',
        700: '#C90318',
        800: '#A10213',
        900: '#740612',
        950: '#49040B',
        DEFAULT: '#eb031c',
      },
    },
  },
}
scss mapclick to select
$brand: (
  '50': #FDF1F3,
  '100': #FCE4E6,
  '200': #FBC1C7,
  '300': #FE909C,
  '400': #FD596B,
  '500': #FC2139,
  '600': #eb031c,
  '700': #C90318,
  '800': #A10213,
  '900': #740612,
  '950': #49040B,
);
$brand-base: #eb031c;
$brand-ink: #ffffff;

@function brand($step) { @return map-get($brand, $step); }
w3c design tokens (json)click to select
{
  "color": {
    "brand": {
      "50": { "$value": "#FDF1F3", "$type": "color" },
      "100": { "$value": "#FCE4E6", "$type": "color" },
      "200": { "$value": "#FBC1C7", "$type": "color" },
      "300": { "$value": "#FE909C", "$type": "color" },
      "400": { "$value": "#FD596B", "$type": "color" },
      "500": { "$value": "#FC2139", "$type": "color" },
      "600": { "$value": "#eb031c", "$type": "color" },
      "700": { "$value": "#C90318", "$type": "color" },
      "800": { "$value": "#A10213", "$type": "color" },
      "900": { "$value": "#740612", "$type": "color" },
      "950": { "$value": "#49040B", "$type": "color" }
    },
    "brandInk": { "$value": "#ffffff", "$type": "color" }
  }
}

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #eb031c · 4.60:1
Use #ffffffAA at every size, AAA for large text only.
Aa
12px
Aa
16px
Aa
24px
Aa
White text · 4.60:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.56:1
AA pass · AA large pass · AAA fail
Reading the other direction: #eb031c as text scores 4.60:1 on white and 4.56:1 on black.
Best tinted ink on it, if plain black or white feels flat: #FFE6E9 at 3.89:1.

Make it accessible

A contrast checker tells you that you failed. This tells you what to ship instead — same hue, same saturation, lightness moved only as far as WCAG demands.

The quick fox
#eb031c · 4.60:1
AA on whitealready passes
#eb031c
The quick fox
#B40216 · 7.09:1
AAA on white−11% L
#B40216
The quick fox
#eb031c · 4.56:1
AA on blackalready passes
#eb031c
The quick fox
#FD6172 · 7.13:1
AAA on black+22% L
#FD6172

Large text — 24px regular or 18.66px bold and above — only needs 3:1, so #EB031C is enough for headings on white. Non-text elements such as icons, chart strokes and focus rings also sit at 3:1 under WCAG 2.2 (1.4.11).

Accessibility — WCAG contrast

Aa
#eb031c on white: 4.60:1
AA ✓ pass · AA-large · AAA
Aa
#eb031c on black: 4.56:1
AA ✓ pass · AA-large · AAA
Against the neutral ladder

Contrast is symmetric, so each row covers both directions: #eb031c as text on that neutral, and that neutral as text on #eb031c.

NeutralRatioBoth directions
White4.60:1AaAa
Slate 504.40:1AaAa
Slate 1004.20:1AaAa
Slate 2003.73:1AaAa
Slate 3003.10:1AaAa
Slate 4001.80:1AaAa
Slate 5001.03:1AaAa
Slate 6001.65:1AaAa
Slate 7002.25:1AaAa
Slate 8003.18:1AaAa
Slate 9003.88:1AaAa
Black4.56:1AaAa
Colour vision deficiency
true color
protanopia · #635818
deuteranopia · #968505
tritanopia · #FF0016

Roughly one man in twelve has some form of colour vision deficiency. If any of the three panels above is hard to tell apart from a neighbouring colour in your palette, add a shape, an icon or a label so the meaning does not rest on hue alone.

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #eb031c is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDF1F3
#FCE4E6
#FBC1C7
#FE909C
#FD596B
#FC2139
#eb031c
#C90318
#A10213
#740612
#49040B
Base = 600Lightest = 50 · #FDF1F3Darkest = 950 · #49040BText step on white = 600
Perceptual ramp — OKLCH

The same eleven steps expressed in OKLCH, where equal lightness numbers actually look equally spaced. HSL ramps go muddy in the yellows and washed out in the blues; this one does not. Modern browsers render it natively — the hex ramp above is the fallback.

50100200300400500600700800900950
oklch tokensclick to select
:root {
  --brand-50: oklch(0.97 0.060 26.9);
  --brand-100: oklch(0.94 0.096 26.9);
  --brand-200: oklch(0.88 0.144 26.9);
  --brand-300: oklch(0.80 0.187 26.9);
  --brand-400: oklch(0.72 0.221 26.9);
  --brand-500: oklch(0.64 0.240 26.9);
  --brand-600: oklch(0.56 0.240 26.9);
  --brand-700: oklch(0.48 0.226 26.9);
  --brand-800: oklch(0.40 0.202 26.9);
  --brand-900: oklch(0.32 0.168 26.9);
  --brand-950: oklch(0.24 0.132 26.9);
}

Colors that work with #eb031c

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4F5
Tinted page background
Border#EDC0C5
Hairlines and dividers
Muted text#9B4B53
Captions on the surface
Accent#00CC83
Second voice, not a rival
Dark variant#7E020F
Hover, pressed, headers
Light variant#FFE6E9
Selected rows, tints
Dark surface#241415
Dark-mode background
Hover#C80318
One step down in lightness
Pressed#A50214
Two steps down
Disabled#C19EA1
Chroma pulled out
Focus ring#FF041F
Offset from the fill so it reads
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

In real components

The same eight roles, wired into the interface patterns you will actually build with them. Every state below is a computed value, not a mock-up.

Buttons and states
Save changesHoverPressedDisabled
OutlineSubtleLinkFocused
Form field
you@company.com

Focus ring uses the light variant so the field still reads as one shape.

Send me product updates
Notice
Your export is ready

The file stays available for seven days. Download it before it expires.

NewBetaDraft
Data
Storage used68%
Acme LtdActive
NorthwindTrial
GlobexActive

How to use #eb031c

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
  • Chart series and data categories
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Status meaning — pair it with an icon or label, never colour alone
  • Pairing with a same-lightness hue — edges vibrate
Minimum size as text on white
Any size
Safe as a fill behind white type
Yes
Safe as a 1px border on white
Yes

Meaning and mood

What a colour in this family tends to signal, and how this particular chroma and lightness change the reading.

urgentappetisingboldphysical

Red arrives before the rest of the page does. It raises attention and appetite, which is why it runs food, sport and clearance pricing.

At this chroma the association is amplified — it will dominate anything placed beside it, so give it space and use it sparingly. The mid lightness keeps it versatile in both themes.

Worth knowing

It is also the universal error colour. Use it as a brand accent and users may read a warning that is not there.

Reads as
  • FormalityLow
  • EnergyHigh
  • Weight53/100
  • TemperatureWarm
  • ApproachabilityHigh

Colour associations are cultural and vary by market. Treat these as a starting point for a conversation with your audience, not a finding about them.

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#03EBD2
Analogous left#EB0390
Analogous right#EB5E03
Split-complement 1#03EB5E
Split-complement 2#0390EB
Triadic 1#1CEB03
Triadic 2#031CEB
Tetradic#90EB03
On the wheel
Base+30°−30°+120°+240°+180°354°

#eb031c sits at 354°. Every dot is a harmony position and links to its own page in the table alongside.

RGB percentages

Red92.2%
Green1.2%
Blue11.0%
R · 0–255
235
0xeb
G · 0–255
3
0x03
B · 0–255
28
0x1c

CMYK percentages

Cyan0.0%
Magenta98.7%
Yellow88.1%
Key (black)7.8%

Total ink coverage is 195%. Most commercial presses cap around 300% — above that, sheets stop drying properly.

Color previews

#eb031c text on a black background

contrast 4.56:1

Card sample

#eb031c text on a white background

contrast 4.60:1

Card sample

#eb031c on grey

4.20:1

#eb031c on its own surface

4.24:1

#eb031c on its dark surface

3.85:1

CSS3 live lab

Text font color

The quick brown fox

color: #eb031c;
Background color
Panel with #eb031c background
background-color: #eb031c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #eb031c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(235, 3, 28, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 3, 28, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eb031c;
background: linear-gradient(135deg, #eb031c, #EB8503);
Gradient text

Gradient headline

background: linear-gradient(90deg, #eb031c, #EBBF03);
-webkit-background-clip: text;
color: transparent;
Focus ring
Focused control
outline: 2px solid #eb031c;
outline-offset: 3px;
Underline & caret

Marked up text

text-decoration-color: #eb031c;
caret-color: #eb031c;
Left rule
Pull quote or callout
border-left: 4px solid #eb031c;
Ring + tint
Selected chip
background: #FFE6E9;
box-shadow: inset 0 0 0 2px #eb031c;
Conic badge
68%
background: conic-gradient(#eb031c 68%, #e2e8f0 0);

Transparency

What each alpha value actually composites to. The top row is #eb031c over white; the bottom row is the same alpha over a checkerboard, so you can see what survives on a photo or a video.

Bottom row of hexes is the flattened result over white — use those when a design tool refuses transparency, or when you need a solid fallback.

alpha in every syntaxclick to select
rgba(235, 3, 28, 0.5)
rgb(235 3 28 / 50%)
#eb031c80
hsl(354 98% 47% / 50%)
color-mix(in srgb, #eb031c 50%, transparent)
Alpha8-digit hexFlat on white
10%#eb031c1a#FDE6E8
20%#eb031c33#FBCDD2
40%#eb031c66#F79AA4
60%#eb031c99#F36877
80%#eb031ccc#EF3549

Gradients from #eb031c

Six recipes, each built from this hex and shown with the exact CSS that produced it.

Elevation
Same hue, three lightnesses — safe anywhere
background: linear-gradient(135deg, #FC2F45, #eb031c 45%, #7E020F);
Duotone
A short hue run reads richer than a flat fill
background: linear-gradient(120deg, #eb031c, #CD8403);
Complement sweep
Loud — keep it behind large type only
background: linear-gradient(90deg, #eb031c, #03EBD2);
Spotlight
Hero panels and app headers
background: radial-gradient(120% 120% at 20% 0%, #FD4D60 0%, #eb031c 45%, #7E020F 100%);
Soft wash
Section backgrounds that stay readable
background: linear-gradient(180deg, #FAF4F5, #ffffff);
Mesh
Ambient background, no image weight
background: radial-gradient(60% 60% at 15% 20%, #FC25BA 0%, transparent 60%), radial-gradient(55% 55% at 85% 15%, #FC8111 0%, transparent 60%), radial-gradient(70% 70% at 50% 95%, #7E020F 0%, transparent 65%), #eb031c;

Monochromatic scale

Palettes built from #eb031c

Shades — darker

Tints — lighter

Tones — desaturated

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#eb031c in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Food and drinkEntertainmentRetailSport
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

On screens

Holds up across typical panel gamma. Still worth checking on an uncalibrated laptop, where mid-tones shift most.

In dark mode

Usable as-is on a dark surface at 4.56:1.

Explore nearby colors

Small, deliberate steps away from this hex — useful when you are hunting for the version of a colour that finally feels right.

#eb031c, answered

What color is #eb031c?

#eb031c is a balanced electric red, closest to Red (ΔE2000 5.8). It sits at 354° on the hue wheel with 98% saturation and 47% lightness, which reads as warm.

What is the RGB value of #eb031c?

rgb(235, 3, 28) — 235 red, 3 green and 28 blue out of 255, or 92.2% / 1.2% / 11% by channel.

What is #eb031c in HSL and HSV?

hsl(354, 98%, 47%) and hsv(354, 99%, 92%). HSL is what CSS takes; HSV is what your design tool's picker shows, which is why the saturation numbers rarely match.

Is #eb031c a light or a dark color?

It is a dark color. Relative luminance is 0.1781 and perceived brightness is 51%, so white text on it reaches 4.60:1.

Should I use black or white text on #eb031c?

White. It scores 4.60:1 against #eb031c, versus 4.56:1 for black — AA at any size.

Is #eb031c accessible on a white background?

#eb031c on white scores 4.60:1, which clears AA at every size but not AAA.

What is the complementary color of #eb031c?

#03EBD2 sits directly opposite on the wheel. Softer options are the split-complements #03EB5E and #0390EB, which give the same contrast with far less vibration.

What colors go well with #eb031c?

For interface work: #FAF4F5 as the surface, #EDC0C5 for borders, #9B4B53 for secondary text, #00CC83 as an accent and #7E020F for hover and pressed states. For a palette, the analogous pair #EB0390 and #EB5E03 stays calm, while #03EBD2 is the loudest partner.

What is #eb031c in CMYK for printing?

cmyk(0%, 99%, 88%, 8%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #eb031c warm or cool?

Warm — it scores 20 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EB2A03; nudged cooler, #EE0171.

Which Tailwind color is closest to #eb031c?

The red family — its 500 step is #ef4444, ΔE2000 7.5 away. That is a visible difference, so define #eb031c as a custom token rather than reaching for the built-in.

How do I use #eb031c in Tailwind CSS?

Inline it as an arbitrary value with bg-[#eb031c] or text-[#eb031c], or register the whole ramp under theme.extend.colors.brand so you get bg-brand-500 and friends. The generated 50–950 scale on this page is ready to paste into your config.

What is #eb031c with 50% opacity?

rgba(235, 3, 28, 0.5), or #eb031c80 in eight-digit hex. Over white that composites to #F5818E; over black, #76020E.

Is #eb031c a web-safe color?

No. The nearest web-safe colour is #FF0033, ΔE2000 5.8 away. The palette only matters for legacy displays and some email clients now.

What does the color #eb031c mean?

As a red, it reads urgent, appetising, bold. Red arrives before the rest of the page does. It raises attention and appetite, which is why it runs food, sport and clearance pricing. At this chroma the effect is amplified — it will dominate whatever sits beside it.

What gradient works with #eb031c?

The safest is same-hue elevation: linear-gradient(135deg, #FC2F45, #eb031c 45%, #7E020F). For more colour, a short hue run to #CD8403 keeps it rich without turning muddy.

Work with #eb031c in the Color Lab

Every tool opens with this colour already loaded.

Every value on this page is computed from #eb031c at request time — conversions, contrast ratios and ΔE distances are calculated, never looked up.