#D94040#D94040

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

Color values

HEX#D94040
RGBrgb(217, 64, 64)
HSLhsl(0, 67%, 55%)
HSVhsv(0, 71%, 85%)
CMYKcmyk(0%, 70.5%, 70.5%, 14.9%)
CIE-LABlab(50.44, 59.17, 35.11)
CIE-LCHlch(50.44, 68.80, 30.69°)
OKLaboklab(59.56% 0.1722 0.0805)
OKLCHoklch(59.56% 0.19 25.1)
XYZxyz(31.3776, 18.7934, 6.8248)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94040 #40D9D9
analogous
#D9408C #D94040 #D98C40
triadic
#D94040 #40D940 #4040D9
tetradic
#D94040 #8CD940 #40D9D9 #8C40D9
square
#D94040 #8CD940 #40D9D9 #8C40D9
split-complementary
#D94040 #40D98C #408CD9
monochromatic
#841A1A #B72424 #D94040 #E37373 #EDA6A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D94040#FFFFFF#000000##000000
##D940401.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)
#6C633E
Deuteranopia (green-blind)
#92843B
Tritanopia (blue-blind)
#EE0342
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d94040;
/* rgb */ color: rgb(217, 64, 64);
/* oklch */ color: oklch(59.6% 0.190 25.1);
Tailwind
colors: {
  custom: {
    50: '#ed7f75',
    500: '#d94040',
    950: '#000000',
  },
}
SCSS
$custom: #d94040;
$custom-light: #ed7f75;
$custom-dark: #000000;
JSON
{
  "hex": "#d94040",
  "rgb": {
    "r": 217,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59562,
    "c": 0.19011,
    "h": 25.1
  },
  "luminance": 0.18789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D94040

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

Preview Lab → · Contrast checker → · Palette generator →

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