#D04042#D04042

#D04042 is a mid, vivid red. Relative luminance 0.175; OKLCH L 58.1% C 0.181 H 24.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#D04042
RGBrgb(208, 64, 66)
HSLhsl(359, 61%, 53%)
HSVhsv(359, 69%, 82%)
CMYKcmyk(0%, 69.2%, 68.3%, 18.4%)
CIE-LABlab(48.85, 56.42, 31.66)
CIE-LCHlch(48.85, 64.70, 29.30°)
OKLaboklab(58.08% 0.1651 0.0736)
OKLCHoklch(58.08% 0.181 24)
XYZxyz(28.8323, 17.4743, 7.0079)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04042 #40D0CE
analogous
#D0408A #D04042 #D08640
triadic
#D04042 #42D040 #4042D0
tetradic
#D04042 #8AD040 #40D0CE #8640D0
square
#D04042 #8AD040 #40D0CE #8640D0
split-complementary
#D04042 #40D086 #408AD0
monochromatic
#781E1F #A92A2B #D04042 #DC7173 #E8A2A3

Accessibility & contrast

On white

4.67
#D04042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#D04042 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D04042
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04042#FFFFFF#000000##FFFFFF
##D040421.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686041
Deuteranopia (green-blind)
#8C7F3E
Tritanopia (blue-blind)
#E41342
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d04042;
/* rgb */ color: rgb(208, 64, 66);
/* oklch */ color: oklch(58.1% 0.181 24.0);
Tailwind
colors: {
  custom: {
    50: '#e67e76',
    500: '#d04042',
    950: '#000000',
  },
}
SCSS
$custom: #d04042;
$custom-light: #e67e76;
$custom-dark: #000000;
JSON
{
  "hex": "#d04042",
  "rgb": {
    "r": 208,
    "g": 64,
    "b": 66
  },
  "hsl": {
    "h": 359.167,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58084,
    "c": 0.18073,
    "h": 24
  },
  "luminance": 0.1747
}

Semantic roles & 50–950 ramp

primary
#D04042
secondary
#97D5D4
accent
#E4E144
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#170A08
muted
#857C7B

Preview Lab

Preview with #D04042

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

Preview Lab → · Contrast checker → · Palette generator →

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