#D54240#D54240

#D54240 is a mid, vivid red. Relative luminance 0.184; OKLCH L 59.1% C 0.184 H 25.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#D54240
RGBrgb(213, 66, 64)
HSLhsl(1, 64%, 54%)
HSVhsv(1, 70%, 84%)
CMYKcmyk(0%, 69%, 70%, 16.5%)
CIE-LABlab(50.00, 57.15, 34.41)
CIE-LCHlch(50.00, 66.71, 31.05°)
OKLaboklab(59.1% 0.1664 0.0792)
OKLCHoklch(59.1% 0.184 25.4)
XYZxyz(30.3175, 18.4172, 6.8080)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54240 #40D3D5
analogous
#D54089 #D54240 #D58C40
triadic
#D54240 #40D542 #4240D5
tetradic
#D54240 #89D540 #40D3D5 #8C40D5
square
#D54240 #89D540 #40D3D5 #8C40D5
split-complementary
#D54240 #40D58C #4089D5
monochromatic
#7F1D1C #B12927 #D54240 #E07472 #EBA5A4

Accessibility & contrast

On white

4.48
#D54240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#D54240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54240
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54240#FFFFFF#000000##000000
##D542401.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B633E
Deuteranopia (green-blind)
#90833B
Tritanopia (blue-blind)
#EA1243
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d54240;
/* rgb */ color: rgb(213, 66, 64);
/* oklch */ color: oklch(59.1% 0.184 25.4);
Tailwind
colors: {
  custom: {
    50: '#ea7f75',
    500: '#d54240',
    950: '#000000',
  },
}
SCSS
$custom: #d54240;
$custom-light: #ea7f75;
$custom-dark: #000000;
JSON
{
  "hex": "#d54240",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 64
  },
  "hsl": {
    "h": 0.805,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59096,
    "c": 0.18422,
    "h": 25.4
  },
  "luminance": 0.18413
}

Semantic roles & 50–950 ramp

primary
#D54240
secondary
#99D7D8
accent
#E5E741
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #D54240

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

Preview Lab → · Contrast checker → · Palette generator →

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