#D54940#D54940

#D54940 is a mid, vivid red. Relative luminance 0.193; OKLCH L 59.9% C 0.178 H 27.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#D54940
RGBrgb(213, 73, 64)
HSLhsl(4, 64%, 54%)
HSVhsv(4, 70%, 84%)
CMYKcmyk(0%, 65.7%, 70%, 16.5%)
CIE-LABlab(51.02, 54.37, 35.61)
CIE-LCHlch(51.02, 65.00, 33.22°)
OKLaboklab(59.86% 0.1576 0.0818)
OKLCHoklch(59.86% 0.178 27.4)
XYZxyz(30.7518, 19.2858, 6.9527)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54940 #40CCD5
analogous
#D54082 #D54940 #D59440
triadic
#D54940 #40D549 #4940D5
tetradic
#D54940 #82D540 #40CCD5 #9440D5
square
#D54940 #82D540 #40CCD5 #9440D5
split-complementary
#D54940 #40D594 #4082D5
monochromatic
#7F221C #B12F27 #D54940 #E07972 #EBA9A4

Accessibility & contrast

On white

4.32
#D54940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#D54940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54940
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54940#FFFFFF#000000##000000
##D549401.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#70663E
Deuteranopia (green-blind)
#93853C
Tritanopia (blue-blind)
#EA2448
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d54940;
/* rgb */ color: rgb(213, 73, 64);
/* oklch */ color: oklch(59.9% 0.178 27.4);
Tailwind
colors: {
  custom: {
    50: '#ea8375',
    500: '#d54940',
    950: '#000000',
  },
}
SCSS
$custom: #d54940;
$custom-light: #ea8375;
$custom-dark: #000000;
JSON
{
  "hex": "#d54940",
  "rgb": {
    "r": 213,
    "g": 73,
    "b": 64
  },
  "hsl": {
    "h": 3.624,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59861,
    "c": 0.17754,
    "h": 27.4
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#D54940
secondary
#99D4D8
accent
#DDE741
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #D54940

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

Preview Lab → · Contrast checker → · Palette generator →

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