#D04D42#D04D42

#D04D42 is a mid, vivid red. Relative luminance 0.191; OKLCH L 59.6% C 0.168 H 28.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#D04D42
RGBrgb(208, 77, 66)
HSLhsl(5, 60%, 54%)
HSVhsv(5, 68%, 82%)
CMYKcmyk(0%, 63%, 68.3%, 18.4%)
CIE-LABlab(50.82, 51.09, 34.03)
CIE-LCHlch(50.82, 61.39, 33.67°)
OKLaboklab(59.56% 0.1482 0.0789)
OKLCHoklch(59.56% 0.168 28)
XYZxyz(29.6527, 19.1151, 7.2813)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04D42 #42C5D0
analogous
#D0427E #D04D42 #D09442
triadic
#D04D42 #42D04D #4D42D0
tetradic
#D04D42 #7ED042 #42C5D0 #9442D0
square
#D04D42 #7ED042 #42C5D0 #9442D0
split-complementary
#D04D42 #42D094 #427ED0
monochromatic
#79251E #AA342A #D04D42 #DC7B73 #E8A9A4

Accessibility & contrast

On white

4.35
#D04D42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#D04D42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04D42
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04D42#FFFFFF#000000##000000
##D04D421.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#706740
Deuteranopia (green-blind)
#91843E
Tritanopia (blue-blind)
#E42E4B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d04d42;
/* rgb */ color: rgb(208, 77, 66);
/* oklch */ color: oklch(59.6% 0.168 28.0);
Tailwind
colors: {
  custom: {
    50: '#e68577',
    500: '#d04d42',
    950: '#000000',
  },
}
SCSS
$custom: #d04d42;
$custom-light: #e68577;
$custom-dark: #000000;
JSON
{
  "hex": "#d04d42",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 66
  },
  "hsl": {
    "h": 4.648,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5956,
    "c": 0.16792,
    "h": 28
  },
  "luminance": 0.19111
}

Semantic roles & 50–950 ramp

primary
#D04D42
secondary
#99D1D5
accent
#D7E344
background
#FFF8F7
surface
#FEF0ED
border
#D6CBC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #D04D42

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

Preview Lab → · Contrast checker → · Palette generator →

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