#D24040#D24040

#D24040 is a mid, vivid red. Relative luminance 0.177; OKLCH L 58.4% C 0.183 H 24.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#D24040
RGBrgb(210, 64, 64)
HSLhsl(0, 62%, 54%)
HSVhsv(0, 70%, 82%)
CMYKcmyk(0%, 69.5%, 69.5%, 17.6%)
CIE-LABlab(49.18, 56.96, 33.31)
CIE-LCHlch(49.18, 65.98, 30.32°)
OKLaboklab(58.39% 0.1661 0.0769)
OKLCHoklch(58.39% 0.183 24.8)
XYZxyz(29.3403, 17.7429, 6.7293)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D24040 #40D2D2
analogous
#D24089 #D24040 #D28940
triadic
#D24040 #40D240 #4040D2
tetradic
#D24040 #89D240 #40D2D2 #8940D2
square
#D24040 #89D240 #40D2D2 #8940D2
split-complementary
#D24040 #40D289 #4089D2
monochromatic
#7B1D1D #AC2929 #D24040 #DE7272 #E9A3A3

Accessibility & contrast

On white

4.62
#D24040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#D24040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D24040
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D24040#FFFFFF#000000##FFFFFF
##D240401.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69613F
Deuteranopia (green-blind)
#8E803B
Tritanopia (blue-blind)
#E70F42
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d24040;
/* rgb */ color: rgb(210, 64, 64);
/* oklch */ color: oklch(58.4% 0.183 24.8);
Tailwind
colors: {
  custom: {
    50: '#e87e75',
    500: '#d24040',
    950: '#000000',
  },
}
SCSS
$custom: #d24040;
$custom-light: #e87e75;
$custom-dark: #000000;
JSON
{
  "hex": "#d24040",
  "rgb": {
    "r": 210,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58388,
    "c": 0.18302,
    "h": 24.8
  },
  "luminance": 0.17739
}

Semantic roles & 50–950 ramp

primary
#D24040
secondary
#98D6D6
accent
#E5E543
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #D24040

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

Preview Lab → · Contrast checker → · Palette generator →

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