#E04742#E04742

#E04742 is a mid, vivid red. Relative luminance 0.207; OKLCH L 61.5% C 0.191 H 26.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#E04742
RGBrgb(224, 71, 66)
HSLhsl(2, 72%, 57%)
HSVhsv(2, 71%, 88%)
CMYKcmyk(0%, 68.3%, 70.5%, 12.2%)
CIE-LABlab(52.68, 58.85, 36.90)
CIE-LCHlch(52.68, 69.46, 32.09°)
OKLaboklab(61.47% 0.1708 0.0844)
OKLCHoklch(61.47% 0.191 26.3)
XYZxyz(33.9808, 20.7521, 7.3695)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E04742 #42DBE0
analogous
#E0428C #E04742 #E09642
triadic
#E04742 #42E047 #4742E0
tetradic
#E04742 #8CE042 #42DBE0 #9642E0
square
#E04742 #8CE042 #42DBE0 #9642E0
split-complementary
#E04742 #42E096 #428CE0
monochromatic
#901B18 #C52520 #E04742 #E97A77 #F1ADAB

Accessibility & contrast

On white

4.08
#E04742 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#E04742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E04742
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E04742#FFFFFF#000000##000000
##E047421.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#726940
Deuteranopia (green-blind)
#988A3D
Tritanopia (blue-blind)
#F61647
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #e04742;
/* rgb */ color: rgb(224, 71, 66);
/* oklch */ color: oklch(61.5% 0.191 26.3);
Tailwind
colors: {
  custom: {
    50: '#f28377',
    500: '#e04742',
    950: '#000000',
  },
}
SCSS
$custom: #e04742;
$custom-light: #f28377;
$custom-dark: #000000;
JSON
{
  "hex": "#e04742",
  "rgb": {
    "r": 224,
    "g": 71,
    "b": 66
  },
  "hsl": {
    "h": 1.899,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61468,
    "c": 0.19052,
    "h": 26.3
  },
  "luminance": 0.20747
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E04742

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

Preview Lab → · Contrast checker → · Palette generator →

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