#D94042#D94042

#D94042 is a mid, vivid red. Relative luminance 0.188; OKLCH L 59.6% C 0.190 H 24.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#D94042
RGBrgb(217, 64, 66)
HSLhsl(359, 67%, 55%)
HSVhsv(359, 71%, 85%)
CMYKcmyk(0%, 70.5%, 69.6%, 14.9%)
CIE-LABlab(50.47, 59.26, 33.99)
CIE-LCHlch(50.47, 68.32, 29.84°)
OKLaboklab(59.59% 0.1729 0.0784)
OKLCHoklch(59.59% 0.19 24.4)
XYZxyz(31.4355, 18.8165, 7.1299)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94042 #40D9D7
analogous
#D9408E #D94042 #D98B40
triadic
#D94042 #42D940 #4042D9
tetradic
#D94042 #8ED940 #40D9D7 #8B40D9
square
#D94042 #8ED940 #40D9D7 #8B40D9
split-complementary
#D94042 #40D98B #408ED9
monochromatic
#841A1C #B72426 #D94042 #E37375 #EDA6A7

Accessibility & contrast

On white

4.41
#D94042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#D94042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D94042
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D94042#FFFFFF#000000##000000
##D940421.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6341
Deuteranopia (green-blind)
#92843D
Tritanopia (blue-blind)
#EE0442
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d94042;
/* rgb */ color: rgb(217, 64, 66);
/* oklch */ color: oklch(59.6% 0.190 24.4);
Tailwind
colors: {
  custom: {
    50: '#ed7f76',
    500: '#d94042',
    950: '#000000',
  },
}
SCSS
$custom: #d94042;
$custom-light: #ed7f76;
$custom-dark: #000000;
JSON
{
  "hex": "#d94042",
  "rgb": {
    "r": 217,
    "g": 64,
    "b": 66
  },
  "hsl": {
    "h": 359.216,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59591,
    "c": 0.18988,
    "h": 24.4
  },
  "luminance": 0.18812
}

Semantic roles & 50–950 ramp

primary
#D94042
secondary
#9ADADA
accent
#EAE73E
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #D94042

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

Preview Lab → · Contrast checker → · Palette generator →

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