#D04542#D04542

#D04542 is a mid, vivid red. Relative luminance 0.181; OKLCH L 58.6% C 0.176 H 25.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#D04542
RGBrgb(208, 69, 66)
HSLhsl(1, 60%, 54%)
HSVhsv(1, 68%, 82%)
CMYKcmyk(0%, 66.8%, 68.3%, 18.4%)
CIE-LABlab(49.57, 54.45, 32.53)
CIE-LCHlch(49.57, 63.43, 30.86°)
OKLaboklab(58.62% 0.1588 0.0756)
OKLCHoklch(58.62% 0.176 25.4)
XYZxyz(29.1270, 18.0637, 7.1061)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04542 #42CDD0
analogous
#D04286 #D04542 #D08C42
triadic
#D04542 #42D045 #4542D0
tetradic
#D04542 #86D042 #42CDD0 #8C42D0
square
#D04542 #86D042 #42CDD0 #8C42D0
split-complementary
#D04542 #42D08C #4286D0
monochromatic
#79201E #AA2D2A #D04542 #DC7573 #E8A5A4

Accessibility & contrast

On white

4.55
#D04542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#D04542 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04542
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04542#FFFFFF#000000##000000
##D045421.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6340
Deuteranopia (green-blind)
#8E813E
Tritanopia (blue-blind)
#E41F46
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d04542;
/* rgb */ color: rgb(208, 69, 66);
/* oklch */ color: oklch(58.6% 0.176 25.4);
Tailwind
colors: {
  custom: {
    50: '#e68076',
    500: '#d04542',
    950: '#000000',
  },
}
SCSS
$custom: #d04542;
$custom-light: #e68076;
$custom-dark: #000000;
JSON
{
  "hex": "#d04542",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 66
  },
  "hsl": {
    "h": 1.268,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58623,
    "c": 0.17589,
    "h": 25.4
  },
  "luminance": 0.18059
}

Semantic roles & 50–950 ramp

primary
#D04542
secondary
#99D4D5
accent
#E0E344
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #D04542

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

Preview Lab → · Contrast checker → · Palette generator →

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