#D04242#D04242

#D04242 is a mid, vivid red. Relative luminance 0.177; OKLCH L 58.3% C 0.179 H 24.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#D04242
RGBrgb(208, 66, 66)
HSLhsl(0, 60%, 54%)
HSVhsv(0, 68%, 82%)
CMYKcmyk(0%, 68.3%, 68.3%, 18.4%)
CIE-LABlab(49.13, 55.65, 32.01)
CIE-LCHlch(49.13, 64.20, 29.91°)
OKLaboklab(58.29% 0.1626 0.0744)
OKLCHoklch(58.29% 0.179 24.6)
XYZxyz(28.9471, 17.7039, 7.0461)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04242 #42D0D0
analogous
#D04289 #D04242 #D08942
triadic
#D04242 #42D042 #4242D0
tetradic
#D04242 #89D042 #42D0D0 #8942D0
square
#D04242 #89D042 #42D0D0 #8942D0
split-complementary
#D04242 #42D089 #4289D0
monochromatic
#791E1E #AA2A2A #D04242 #DC7373 #E8A4A4

Accessibility & contrast

On white

4.63
#D04242 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#D04242 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D04242
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04242#FFFFFF#000000##FFFFFF
##D042421.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696141
Deuteranopia (green-blind)
#8D803E
Tritanopia (blue-blind)
#E41844
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d04242;
/* rgb */ color: rgb(208, 66, 66);
/* oklch */ color: oklch(58.3% 0.179 24.6);
Tailwind
colors: {
  custom: {
    50: '#e67f76',
    500: '#d04242',
    950: '#000000',
  },
}
SCSS
$custom: #d04242;
$custom-light: #e67f76;
$custom-dark: #000000;
JSON
{
  "hex": "#d04242",
  "rgb": {
    "r": 208,
    "g": 66,
    "b": 66
  },
  "hsl": {
    "h": 0,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58295,
    "c": 0.17881,
    "h": 24.6
  },
  "luminance": 0.177
}

Semantic roles & 50–950 ramp

primary
#D04242
secondary
#99D5D5
accent
#E3E344
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #D04242

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

Preview Lab → · Contrast checker → · Palette generator →

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