#D54047#D54047

#D54047 is a mid, vivid red. Relative luminance 0.183; OKLCH L 59.0% C 0.185 H 22.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#D54047
RGBrgb(213, 64, 71)
HSLhsl(357, 64%, 54%)
HSVhsv(357, 70%, 84%)
CMYKcmyk(0%, 70%, 66.7%, 16.5%)
CIE-LABlab(49.82, 58.27, 30.13)
CIE-LCHlch(49.82, 65.59, 27.34°)
OKLaboklab(59% 0.1713 0.0707)
OKLCHoklch(59% 0.185 22.4)
XYZxyz(30.4145, 18.2723, 7.8854)
Luminance0.1827 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54047 #40D5CE
analogous
#D54092 #D54047 #D58440
triadic
#D54047 #47D540 #4047D5
tetradic
#D54047 #92D540 #40D5CE #8440D5
square
#D54047 #92D540 #40D5CE #8440D5
split-complementary
#D54047 #40D584 #4092D5
monochromatic
#7F1C21 #B1272D #D54047 #E07277 #EBA4A8

Accessibility & contrast

On white

4.51
#D54047 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#D54047 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54047
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54047#FFFFFF#000000##000000
##D540471.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#696246
Deuteranopia (green-blind)
#8F8243
Tritanopia (blue-blind)
#EA0F44
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d54047;
/* rgb */ color: rgb(213, 64, 71);
/* oklch */ color: oklch(59.0% 0.185 22.4);
Tailwind
colors: {
  custom: {
    50: '#ea7e7a',
    500: '#d54047',
    950: '#000000',
  },
}
SCSS
$custom: #d54047;
$custom-light: #ea7e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d54047",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 71
  },
  "hsl": {
    "h": 357.181,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58999,
    "c": 0.18533,
    "h": 22.4
  },
  "luminance": 0.18268
}

Semantic roles & 50–950 ramp

primary
#D54047
secondary
#99D8D5
accent
#E7DF41
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#180B09
muted
#867C7B

Preview Lab

Preview with #D54047

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

Preview Lab → · Contrast checker → · Palette generator →

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