Skip to content

#eb040a

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

RGB
235, 4, 10
HSL
358°, 97%, 47%
CMYK
0, 98, 96, 8
Luminance
0.1777

At a glance

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

Hex
#eb040a
Hue
358°
red
Saturation
97%
electric
Lightness
47%
balanced
Brightness
92%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1777
WCAG relative
Temperature
Warm
18/100 cool
Color family
Red
Tone
Electric
Best ink
White
4.61:1
Closest name
Red
ΔE2000 4.4
Where it sits
Hue358° of 360°
Saturation97%
Lightness47%
Temperature
Warm ← → Cool18% cool

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

Every format

HEX#eb040a
RGBrgb(235, 4, 10)
HSLhsl(358, 97%, 47%)
CMYKcmyk(0%, 98%, 96%, 8%)
LABlab(49.2 75.1 60.5)
LCHlch(49.2 96.4 38.9)
OKLCHoklch(0.591 0.241 28.7)
Decimal15401994
Display P3color(display-p3 0.922 0.016 0.039)

Copy-ready code

/* CSS */
color: #eb040a;
background-color: #eb040a;
/* Tailwind (arbitrary) */
class="text-[#eb040a] bg-[#eb040a]"
/* SCSS */
$brand: #eb040a;
/* SwiftUI */
Color(red: 0.922, green: 0.016, blue: 0.039)
/* Android */
Color.parseColor("#eb040a")
/* Flutter */
Color(0xFFEB040A)
/* Python / OpenCV (BGR) */
(10, 4, 235)

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 #eb040a · 4.61:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.61:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.55:1
AA pass · AA large pass · AAA fail
Reading the other direction: #eb040a as text scores 4.61:1 on white and 4.55:1 on black.

Accessibility — WCAG contrast

Aa
#eb040a on white: 4.61:1
AA ✓ pass · AA-large · AAA
Aa
#eb040a on black: 4.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #645700
deuteranopia · #968500
tritanopia · #FF0011

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #eb040a 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.

#FDF1F2
#FCE4E4
#FBC1C3
#FD9194
#FC595E
#FB2228
#eb040a
#C90309
#A10307
#74070A
#480406
Base = 600Lightest = 50 · #FDF1F2Darkest = 950 · #480406
:root {
  --brand-50: #FDF1F2;
  --brand-100: #FCE4E4;
  --brand-200: #FBC1C3;
  --brand-300: #FD9194;
  --brand-400: #FC595E;
  --brand-500: #FB2228;
  --brand-600: #eb040a;
  --brand-700: #C90309;
  --brand-800: #A10307;
  --brand-900: #74070A;
  --brand-950: #480406;
  --brand: #eb040a;
  --brand-ink: #ffffff;
}

Colors that work with #eb040a

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#FAF4F4
Tinted page background
Border#EDC0C1
Hairlines and dividers
Muted text#9B4B4D
Captions on the surface
Accent#00CC94
Second voice, not a rival
Dark variant#7D0205
Hover, pressed, headers
Light variant#FFE6E7
Selected rows, tints
Dark surface#241414
Dark-mode background
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

How to use #eb040a

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
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

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#04EBE5
Analogous left#EB047E
Analogous right#EB7104
Split-complement 1#04EB71
Split-complement 2#047EEB
Triadic 1#0AEB04
Triadic 2#040AEB
Tetradic#7EEB04

RGB percentages

Red92.2%
Green1.6%
Blue3.9%

CMYK percentages

Cyan0.0%
Magenta98.3%
Yellow95.7%
Key (black)7.8%

Color previews

#eb040a text on a black background

contrast 4.55:1

Card sample

#eb040a text on a white background

contrast 4.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb040a

Shades — darker

Tints — lighter

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.

#eb040a 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.

#eb040a, answered

What color is #eb040a?

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

What is the RGB value of #eb040a?

rgb(235, 4, 10) — 235 red, 4 green and 10 blue out of 255, or 92.2% / 1.6% / 3.9% by channel.

Is #eb040a a light or a dark color?

It is a dark color. Relative luminance is 0.1777 and perceived brightness is 50%, so white text on it reaches 4.61:1.

Should I use black or white text on #eb040a?

White. It scores 4.61:1 against #eb040a, versus 4.55:1 for black — AA at any size.

What is the complementary color of #eb040a?

#04EBE5 sits directly opposite on the wheel. Softer options are the split-complements #04EB71 and #047EEB, which give the same contrast with far less vibration.

What colors go well with #eb040a?

For interface work: #FAF4F4 as the surface, #EDC0C1 for borders, #9B4B4D for secondary text, #00CC94 as an accent and #7D0205 for hover and pressed states. For a palette, the analogous pair #EB047E and #EB7104 stays calm, while #04EBE5 is the loudest partner.

What is #eb040a in CMYK for printing?

cmyk(0%, 98%, 96%, 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 #eb040a warm or cool?

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

Work with #eb040a in the Color Lab