#D54840#D54840

#D54840 is a mid, vivid red. Relative luminance 0.192; OKLCH L 59.7% C 0.179 H 27.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#D54840
RGBrgb(213, 72, 64)
HSLhsl(3, 64%, 54%)
HSVhsv(3, 70%, 84%)
CMYKcmyk(0%, 66.2%, 70%, 16.5%)
CIE-LABlab(50.87, 54.78, 35.43)
CIE-LCHlch(50.87, 65.24, 32.90°)
OKLaboklab(59.75% 0.1589 0.0814)
OKLCHoklch(59.75% 0.179 27.1)
XYZxyz(30.6866, 19.1554, 6.9310)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54840 #40CDD5
analogous
#D54083 #D54840 #D59240
triadic
#D54840 #40D548 #4840D5
tetradic
#D54840 #83D540 #40CDD5 #9240D5
square
#D54840 #83D540 #40CDD5 #9240D5
split-complementary
#D54840 #40D592 #4083D5
monochromatic
#7F211C #B12E27 #D54840 #E07872 #EBA8A4

Accessibility & contrast

On white

4.35
#D54840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#D54840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54840
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54840#FFFFFF#000000##000000
##D548401.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F663E
Deuteranopia (green-blind)
#92843C
Tritanopia (blue-blind)
#EA2247
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d54840;
/* rgb */ color: rgb(213, 72, 64);
/* oklch */ color: oklch(59.7% 0.179 27.1);
Tailwind
colors: {
  custom: {
    50: '#ea8275',
    500: '#d54840',
    950: '#000000',
  },
}
SCSS
$custom: #d54840;
$custom-light: #ea8275;
$custom-dark: #000000;
JSON
{
  "hex": "#d54840",
  "rgb": {
    "r": 213,
    "g": 72,
    "b": 64
  },
  "hsl": {
    "h": 3.221,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59748,
    "c": 0.17851,
    "h": 27.1
  },
  "luminance": 0.19151
}

Semantic roles & 50–950 ramp

primary
#D54840
secondary
#99D5D8
accent
#DEE741
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #D54840

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

Preview Lab → · Contrast checker → · Palette generator →

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