#D94940#D94940

#D94940 is a mid, vivid red. Relative luminance 0.199; OKLCH L 60.5% C 0.182 H 27.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#D94940
RGBrgb(217, 73, 64)
HSLhsl(4, 67%, 55%)
HSVhsv(4, 71%, 85%)
CMYKcmyk(0%, 66.4%, 70.5%, 14.9%)
CIE-LABlab(51.71, 55.70, 36.60)
CIE-LCHlch(51.71, 66.65, 33.31°)
OKLaboklab(60.51% 0.1613 0.0838)
OKLCHoklch(60.51% 0.182 27.4)
XYZxyz(31.9267, 19.8916, 7.0078)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94940 #40D0D9
analogous
#D94084 #D94940 #D99540
triadic
#D94940 #40D949 #4940D9
tetradic
#D94940 #84D940 #40D0D9 #9540D9
square
#D94940 #84D940 #40D0D9 #9540D9
split-complementary
#D94940 #40D995 #4084D9
monochromatic
#84211A #B72D24 #D94940 #E37A73 #EDAAA6

Accessibility & contrast

On white

4.22
#D94940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#D94940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D94940
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D94940#FFFFFF#000000##000000
##D949401.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71673E
Deuteranopia (green-blind)
#95873B
Tritanopia (blue-blind)
#EE2148
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d94940;
/* rgb */ color: rgb(217, 73, 64);
/* oklch */ color: oklch(60.5% 0.182 27.4);
Tailwind
colors: {
  custom: {
    50: '#ed8375',
    500: '#d94940',
    950: '#000000',
  },
}
SCSS
$custom: #d94940;
$custom-light: #ed8375;
$custom-dark: #000000;
JSON
{
  "hex": "#d94940",
  "rgb": {
    "r": 217,
    "g": 73,
    "b": 64
  },
  "hsl": {
    "h": 3.529,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60512,
    "c": 0.18173,
    "h": 27.4
  },
  "luminance": 0.19887
}

Semantic roles & 50–950 ramp

primary
#D94940
secondary
#9AD7DA
accent
#E0EA3E
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #D94940

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

Preview Lab → · Contrast checker → · Palette generator →

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