#E04842#E04842

#E04842 is a mid, vivid red. Relative luminance 0.209; OKLCH L 61.6% C 0.190 H 26.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#E04842
RGBrgb(224, 72, 66)
HSLhsl(2, 72%, 57%)
HSVhsv(2, 71%, 88%)
CMYKcmyk(0%, 67.9%, 70.5%, 12.2%)
CIE-LABlab(52.82, 58.46, 37.07)
CIE-LCHlch(52.82, 69.22, 32.38°)
OKLaboklab(61.57% 0.1696 0.0848)
OKLCHoklch(61.57% 0.19 26.6)
XYZxyz(34.0449, 20.8804, 7.3908)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E04842 #42DAE0
analogous
#E0428B #E04842 #E09742
triadic
#E04842 #42E048 #4842E0
tetradic
#E04842 #8BE042 #42DAE0 #9742E0
square
#E04842 #8BE042 #42DAE0 #9742E0
split-complementary
#E04842 #42E097 #428BE0
monochromatic
#901C18 #C52620 #E04842 #E97B77 #F1AEAB

Accessibility & contrast

On white

4.06
#E04842 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#E04842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E04842
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E04842#FFFFFF#000000##000000
##E048421.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#736940
Deuteranopia (green-blind)
#998A3D
Tritanopia (blue-blind)
#F61948
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #e04842;
/* rgb */ color: rgb(224, 72, 66);
/* oklch */ color: oklch(61.6% 0.190 26.6);
Tailwind
colors: {
  custom: {
    50: '#f28477',
    500: '#e04842',
    950: '#000000',
  },
}
SCSS
$custom: #e04842;
$custom-light: #f28477;
$custom-dark: #000000;
JSON
{
  "hex": "#e04842",
  "rgb": {
    "r": 224,
    "g": 72,
    "b": 66
  },
  "hsl": {
    "h": 2.278,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61573,
    "c": 0.18959,
    "h": 26.6
  },
  "luminance": 0.20875
}

Semantic roles & 50–950 ramp

primary
#E04842
secondary
#9FDDDF
accent
#E8EF39
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #E04842

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

Preview Lab → · Contrast checker → · Palette generator →

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