#D54542#D54542

#D54542 is a mid, vivid red. Relative luminance 0.188; OKLCH L 59.4% C 0.181 H 25.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#D54542
RGBrgb(213, 69, 66)
HSLhsl(1, 64%, 55%)
HSVhsv(1, 69%, 84%)
CMYKcmyk(0%, 67.6%, 69%, 16.5%)
CIE-LABlab(50.45, 56.09, 33.80)
CIE-LCHlch(50.45, 65.48, 31.07°)
OKLaboklab(59.45% 0.1634 0.0781)
OKLCHoklch(59.45% 0.181 25.6)
XYZxyz(30.5553, 18.8002, 7.1731)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54542 #42D2D5
analogous
#D54289 #D54542 #D58E42
triadic
#D54542 #42D545 #4542D5
tetradic
#D54542 #89D542 #42D2D5 #8E42D5
square
#D54542 #89D542 #42D2D5 #8E42D5
split-complementary
#D54542 #42D58E #4289D5
monochromatic
#801F1C #B22A28 #D54542 #E07674 #EBA8A6

Accessibility & contrast

On white

4.41
#D54542 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#D54542 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54542
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54542#FFFFFF#000000##000000
##D545421.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D6440
Deuteranopia (green-blind)
#91843E
Tritanopia (blue-blind)
#EA1B46
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d54542;
/* rgb */ color: rgb(213, 69, 66);
/* oklch */ color: oklch(59.4% 0.181 25.6);
Tailwind
colors: {
  custom: {
    50: '#ea8176',
    500: '#d54542',
    950: '#000000',
  },
}
SCSS
$custom: #d54542;
$custom-light: #ea8176;
$custom-dark: #000000;
JSON
{
  "hex": "#d54542",
  "rgb": {
    "r": 213,
    "g": 69,
    "b": 66
  },
  "hsl": {
    "h": 1.224,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59445,
    "c": 0.1811,
    "h": 25.6
  },
  "luminance": 0.18796
}

Semantic roles & 50–950 ramp

primary
#D54542
secondary
#9AD7D8
accent
#E3E741
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #D54542

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

Preview Lab → · Contrast checker → · Palette generator →

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