#E04542#E04542

#E04542 is a mid, vivid red. Relative luminance 0.205; OKLCH L 61.3% C 0.192 H 25.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#E04542
RGBrgb(224, 69, 66)
HSLhsl(1, 72%, 57%)
HSVhsv(1, 71%, 88%)
CMYKcmyk(0%, 69.2%, 70.5%, 12.2%)
CIE-LABlab(52.40, 59.61, 36.58)
CIE-LCHlch(52.40, 69.93, 31.54°)
OKLaboklab(61.26% 0.1732 0.0837)
OKLCHoklch(61.26% 0.192 25.8)
XYZxyz(33.8557, 20.5019, 7.3278)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E04542 #42DDE0
analogous
#E0428E #E04542 #E09442
triadic
#E04542 #42E045 #4542E0
tetradic
#E04542 #8EE042 #42DDE0 #9442E0
square
#E04542 #8EE042 #42DDE0 #9442E0
split-complementary
#E04542 #42E094 #428EE0
monochromatic
#901A18 #C52320 #E04542 #E97977 #F1ACAB

Accessibility & contrast

On white

4.12
#E04542 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#E04542 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E04542
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E04542#FFFFFF#000000##000000
##E045421.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#716840
Deuteranopia (green-blind)
#98893D
Tritanopia (blue-blind)
#F61046
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #e04542;
/* rgb */ color: rgb(224, 69, 66);
/* oklch */ color: oklch(61.3% 0.192 25.8);
Tailwind
colors: {
  custom: {
    50: '#f28277',
    500: '#e04542',
    950: '#000000',
  },
}
SCSS
$custom: #e04542;
$custom-light: #f28277;
$custom-dark: #000000;
JSON
{
  "hex": "#e04542",
  "rgb": {
    "r": 224,
    "g": 69,
    "b": 66
  },
  "hsl": {
    "h": 1.139,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61261,
    "c": 0.19236,
    "h": 25.8
  },
  "luminance": 0.20497
}

Semantic roles & 50–950 ramp

primary
#E04542
secondary
#9FDEDF
accent
#EBEF39
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#190B08
muted
#867C7B

Preview Lab

Preview with #E04542

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E04542 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva