#E04242#E04242

#E04242 is a mid, vivid red. Relative luminance 0.201; OKLCH L 61.0% C 0.195 H 25.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#E04242
RGBrgb(224, 66, 66)
HSLhsl(0, 72%, 57%)
HSVhsv(0, 71%, 88%)
CMYKcmyk(0%, 70.5%, 70.5%, 12.2%)
CIE-LABlab(52.00, 60.71, 36.11)
CIE-LCHlch(52.00, 70.64, 30.74°)
OKLaboklab(60.96% 0.1767 0.0827)
OKLCHoklch(60.96% 0.195 25.1)
XYZxyz(33.6758, 20.1421, 7.2678)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E04242 #42E0E0
analogous
#E04291 #E04242 #E09142
triadic
#E04242 #42E042 #4242E0
tetradic
#E04242 #91E042 #42E0E0 #9142E0
square
#E04242 #91E042 #42E0E0 #9142E0
split-complementary
#E04242 #42E091 #4291E0
monochromatic
#901818 #C52020 #E04242 #E97777 #F1ABAB

Accessibility & contrast

On white

4.18
#E04242 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#E04242 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E04242
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E04242#FFFFFF#000000##000000
##E042421.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F6640
Deuteranopia (green-blind)
#97883D
Tritanopia (blue-blind)
#F60144
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #e04242;
/* rgb */ color: rgb(224, 66, 66);
/* oklch */ color: oklch(61.0% 0.195 25.1);
Tailwind
colors: {
  custom: {
    50: '#f28176',
    500: '#e04242',
    950: '#000000',
  },
}
SCSS
$custom: #e04242;
$custom-light: #f28176;
$custom-dark: #000000;
JSON
{
  "hex": "#e04242",
  "rgb": {
    "r": 224,
    "g": 66,
    "b": 66
  },
  "hsl": {
    "h": 0,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6096,
    "c": 0.19507,
    "h": 25.1
  },
  "luminance": 0.20137
}

Semantic roles & 50–950 ramp

primary
#E04242
secondary
#9FDFDF
accent
#EFEF39
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#190B08
muted
#867C7B

Preview Lab

Preview with #E04242

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

Preview Lab → · Contrast checker → · Palette generator →

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