#D84040#D84040

#D84040 is a mid, vivid red. Relative luminance 0.186; OKLCH L 59.4% C 0.189 H 25.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#D84040
RGBrgb(216, 64, 64)
HSLhsl(0, 66%, 55%)
HSVhsv(0, 70%, 85%)
CMYKcmyk(0%, 70.4%, 70.4%, 15.3%)
CIE-LABlab(50.26, 58.85, 34.86)
CIE-LCHlch(50.26, 68.40, 30.64°)
OKLaboklab(59.39% 0.1714 0.08)
OKLCHoklch(59.39% 0.189 25)
XYZxyz(31.0811, 18.6405, 6.8109)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D84040 #40D8D8
analogous
#D8408C #D84040 #D88C40
triadic
#D84040 #40D840 #4040D8
tetradic
#D84040 #8CD840 #40D8D8 #8C40D8
square
#D84040 #8CD840 #40D8D8 #8C40D8
split-complementary
#D84040 #40D88C #408CD8
monochromatic
#831B1B #B62525 #D84040 #E27373 #EDA6A6

Accessibility & contrast

On white

4.44
#D84040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#D84040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D84040
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D84040#FFFFFF#000000##000000
##D840401.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B633E
Deuteranopia (green-blind)
#91843B
Tritanopia (blue-blind)
#ED0542
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d84040;
/* rgb */ color: rgb(216, 64, 64);
/* oklch */ color: oklch(59.4% 0.189 25.0);
Tailwind
colors: {
  custom: {
    50: '#ec7f75',
    500: '#d84040',
    950: '#000000',
  },
}
SCSS
$custom: #d84040;
$custom-light: #ec7f75;
$custom-dark: #000000;
JSON
{
  "hex": "#d84040",
  "rgb": {
    "r": 216,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59394,
    "c": 0.1891,
    "h": 25
  },
  "luminance": 0.18636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D84040

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

Preview Lab → · Contrast checker → · Palette generator →

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