#D54842#D54842

#D54842 is a mid, vivid red. Relative luminance 0.192; OKLCH L 59.8% C 0.178 H 26.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#D54842
RGBrgb(213, 72, 66)
HSLhsl(2, 64%, 55%)
HSVhsv(2, 69%, 84%)
CMYKcmyk(0%, 66.2%, 69%, 16.5%)
CIE-LABlab(50.90, 54.88, 34.33)
CIE-LCHlch(50.90, 64.73, 32.02°)
OKLaboklab(59.78% 0.1596 0.0793)
OKLCHoklch(59.78% 0.178 26.4)
XYZxyz(30.7446, 19.1786, 7.2361)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54842 #42CFD5
analogous
#D54286 #D54842 #D59242
triadic
#D54842 #42D548 #4842D5
tetradic
#D54842 #86D542 #42CFD5 #9242D5
square
#D54842 #86D542 #42CFD5 #9242D5
split-complementary
#D54842 #42D592 #4286D5
monochromatic
#80211C #B22D28 #D54842 #E07874 #EBA9A6

Accessibility & contrast

On white

4.34
#D54842 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#D54842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54842
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54842#FFFFFF#000000##000000
##D548421.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F6640
Deuteranopia (green-blind)
#92843E
Tritanopia (blue-blind)
#EA2248
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d54842;
/* rgb */ color: rgb(213, 72, 66);
/* oklch */ color: oklch(59.8% 0.178 26.4);
Tailwind
colors: {
  custom: {
    50: '#ea8276',
    500: '#d54842',
    950: '#000000',
  },
}
SCSS
$custom: #d54842;
$custom-light: #ea8276;
$custom-dark: #000000;
JSON
{
  "hex": "#d54842",
  "rgb": {
    "r": 213,
    "g": 72,
    "b": 66
  },
  "hsl": {
    "h": 2.449,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59777,
    "c": 0.17821,
    "h": 26.4
  },
  "luminance": 0.19174
}

Semantic roles & 50–950 ramp

primary
#D54842
secondary
#9AD6D8
accent
#E0E741
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #D54842

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

Preview Lab → · Contrast checker → · Palette generator →

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