#D04F42#D04F42

#D04F42 is a mid, vivid red. Relative luminance 0.194; OKLCH L 59.8% C 0.166 H 28.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#D04F42
RGBrgb(208, 79, 66)
HSLhsl(5, 60%, 54%)
HSVhsv(5, 68%, 82%)
CMYKcmyk(0%, 62%, 68.3%, 18.4%)
CIE-LABlab(51.15, 50.21, 34.42)
CIE-LCHlch(51.15, 60.88, 34.43°)
OKLaboklab(59.81% 0.1455 0.0797)
OKLCHoklch(59.81% 0.166 28.7)
XYZxyz(29.7948, 19.3993, 7.3287)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04F42 #42C3D0
analogous
#D0427C #D04F42 #D09642
triadic
#D04F42 #42D04F #4F42D0
tetradic
#D04F42 #7CD042 #42C3D0 #9642D0
square
#D04F42 #7CD042 #42C3D0 #9642D0
split-complementary
#D04F42 #42D096 #427CD0
monochromatic
#79271E #AA362A #D04F42 #DC7D73 #E8AAA4

Accessibility & contrast

On white

4.30
#D04F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#D04F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04F42
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04F42#FFFFFF#000000##000000
##D04F421.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#726840
Deuteranopia (green-blind)
#92843E
Tritanopia (blue-blind)
#E4324D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d04f42;
/* rgb */ color: rgb(208, 79, 66);
/* oklch */ color: oklch(59.8% 0.166 28.7);
Tailwind
colors: {
  custom: {
    50: '#e68677',
    500: '#d04f42',
    950: '#000000',
  },
}
SCSS
$custom: #d04f42;
$custom-light: #e68677;
$custom-dark: #000000;
JSON
{
  "hex": "#d04f42",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 66
  },
  "hsl": {
    "h": 5.493,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59808,
    "c": 0.1659,
    "h": 28.7
  },
  "luminance": 0.19395
}

Semantic roles & 50–950 ramp

primary
#D04F42
secondary
#99D0D5
accent
#D5E344
background
#FFF8F7
surface
#FEF0ED
border
#D6CBC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #D04F42

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

Preview Lab → · Contrast checker → · Palette generator →

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