#D04142#D04142

#D04142 is a mid, vivid red. Relative luminance 0.176; OKLCH L 58.2% C 0.180 H 24.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#D04142
RGBrgb(208, 65, 66)
HSLhsl(360, 60%, 54%)
HSVhsv(360, 69%, 82%)
CMYKcmyk(0%, 68.8%, 68.3%, 18.4%)
CIE-LABlab(48.99, 56.04, 31.83)
CIE-LCHlch(48.99, 64.45, 29.60°)
OKLaboklab(58.19% 0.1638 0.074)
OKLCHoklch(58.19% 0.18 24.3)
XYZxyz(28.8892, 17.5880, 7.0268)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04142 #41D0CF
analogous
#D04189 #D04142 #D08741
triadic
#D04142 #42D041 #4142D0
tetradic
#D04142 #89D041 #41D0CF #8741D0
square
#D04142 #89D041 #41D0CF #8741D0
split-complementary
#D04142 #41D087 #4189D0
monochromatic
#791E1F #AA2A2B #D04142 #DC7273 #E8A3A4

Accessibility & contrast

On white

4.65
#D04142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#D04142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D04142
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04142#FFFFFF#000000##FFFFFF
##D041421.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d04142;
/* rgb */ color: rgb(208, 65, 66);
/* oklch */ color: oklch(58.2% 0.180 24.3);
Tailwind
colors: {
  custom: {
    50: '#e67e76',
    500: '#d04142',
    950: '#000000',
  },
}
SCSS
$custom: #d04142;
$custom-light: #e67e76;
$custom-dark: #000000;
JSON
{
  "hex": "#d04142",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 66
  },
  "hsl": {
    "h": 359.58,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58189,
    "c": 0.17978,
    "h": 24.3
  },
  "luminance": 0.17584
}

Semantic roles & 50–950 ramp

primary
#D04142
secondary
#98D5D5
accent
#E3E244
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #D04142

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

Preview Lab → · Contrast checker → · Palette generator →

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