#D54147#D54147

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

Color values

HEX#D54147
RGBrgb(213, 65, 71)
HSLhsl(358, 64%, 55%)
HSVhsv(358, 69%, 84%)
CMYKcmyk(0%, 69.5%, 66.7%, 16.5%)
CIE-LABlab(49.96, 57.89, 30.29)
CIE-LCHlch(49.96, 65.34, 27.62°)
OKLaboklab(59.1% 0.1701 0.0711)
OKLCHoklch(59.1% 0.184 22.7)
XYZxyz(30.4714, 18.3861, 7.9044)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54147 #41D5CF
analogous
#D54191 #D54147 #D58541
triadic
#D54147 #47D541 #4147D5
tetradic
#D54147 #91D541 #41D5CF #8541D5
square
#D54147 #91D541 #41D5CF #8541D5
split-complementary
#D54147 #41D585 #4191D5
monochromatic
#7F1C20 #B2272D #D54147 #E07378 #EBA5A8

Accessibility & contrast

On white

4.49
#D54147 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D54147#FFFFFF#000000##000000
##D541471.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6346
Deuteranopia (green-blind)
#8F8243
Tritanopia (blue-blind)
#EA1345
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d54147;
/* rgb */ color: rgb(213, 65, 71);
/* oklch */ color: oklch(59.1% 0.184 22.7);
Tailwind
colors: {
  custom: {
    50: '#ea7f7a',
    500: '#d54147',
    950: '#000000',
  },
}
SCSS
$custom: #d54147;
$custom-light: #ea7f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d54147",
  "rgb": {
    "r": 213,
    "g": 65,
    "b": 71
  },
  "hsl": {
    "h": 357.568,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59101,
    "c": 0.18437,
    "h": 22.7
  },
  "luminance": 0.18382
}

Semantic roles & 50–950 ramp

primary
#D54147
secondary
#9AD8D6
accent
#E7E041
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#180B09
muted
#867C7B

Preview Lab

Preview with #D54147

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

Preview Lab → · Contrast checker → · Palette generator →

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