#D54D42#D54D42

#D54D42 is a mid, vivid red. Relative luminance 0.198; OKLCH L 60.4% C 0.173 H 28.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#D54D42
RGBrgb(213, 77, 66)
HSLhsl(4, 64%, 55%)
HSVhsv(4, 69%, 84%)
CMYKcmyk(0%, 63.8%, 69%, 16.5%)
CIE-LABlab(51.67, 52.80, 35.24)
CIE-LCHlch(51.67, 63.48, 33.72°)
OKLaboklab(60.36% 0.153 0.0813)
OKLCHoklch(60.36% 0.173 28)
XYZxyz(31.0811, 19.8516, 7.3483)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54D42 #42CAD5
analogous
#D54280 #D54D42 #D59742
triadic
#D54D42 #42D54D #4D42D5
tetradic
#D54D42 #80D542 #42CAD5 #9742D5
square
#D54D42 #80D542 #42CAD5 #9742D5
split-complementary
#D54D42 #42D597 #4280D5
monochromatic
#80241C #B23228 #D54D42 #E07C74 #EBABA6

Accessibility & contrast

On white

4.23
#D54D42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#D54D42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54D42
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54D42#FFFFFF#000000##000000
##D54D421.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#726940
Deuteranopia (green-blind)
#94863E
Tritanopia (blue-blind)
#EA2C4B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d54d42;
/* rgb */ color: rgb(213, 77, 66);
/* oklch */ color: oklch(60.4% 0.173 28.0);
Tailwind
colors: {
  custom: {
    50: '#ea8577',
    500: '#d54d42',
    950: '#000000',
  },
}
SCSS
$custom: #d54d42;
$custom-light: #ea8577;
$custom-dark: #000000;
JSON
{
  "hex": "#d54d42",
  "rgb": {
    "r": 213,
    "g": 77,
    "b": 66
  },
  "hsl": {
    "h": 4.49,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60357,
    "c": 0.17329,
    "h": 28
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#D54D42
secondary
#9AD4D8
accent
#DAE741
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #D54D42

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

Preview Lab → · Contrast checker → · Palette generator →

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