#D54242#D54242

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

Color values

HEX#D54242
RGBrgb(213, 66, 66)
HSLhsl(0, 64%, 55%)
HSVhsv(0, 69%, 84%)
CMYKcmyk(0%, 69%, 69%, 16.5%)
CIE-LABlab(50.03, 57.25, 33.29)
CIE-LCHlch(50.03, 66.23, 30.18°)
OKLaboklab(59.13% 0.1671 0.077)
OKLCHoklch(59.13% 0.184 24.7)
XYZxyz(30.3754, 18.4404, 7.1131)
Luminance0.1844 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54242 #42D5D5
analogous
#D5428C #D54242 #D58C42
triadic
#D54242 #42D542 #4242D5
tetradic
#D54242 #8CD542 #42D5D5 #8C42D5
square
#D54242 #8CD542 #42D5D5 #8C42D5
split-complementary
#D54242 #42D58C #428CD5
monochromatic
#801C1C #B22828 #D54242 #E07474 #EBA6A6

Accessibility & contrast

On white

4.48
#D54242 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#D54242 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54242
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54242#FFFFFF#000000##000000
##D542421.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6341
Deuteranopia (green-blind)
#90833D
Tritanopia (blue-blind)
#EA1344
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d54242;
/* rgb */ color: rgb(213, 66, 66);
/* oklch */ color: oklch(59.1% 0.184 24.7);
Tailwind
colors: {
  custom: {
    50: '#ea7f76',
    500: '#d54242',
    950: '#000000',
  },
}
SCSS
$custom: #d54242;
$custom-light: #ea7f76;
$custom-dark: #000000;
JSON
{
  "hex": "#d54242",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 66
  },
  "hsl": {
    "h": 0,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59126,
    "c": 0.18397,
    "h": 24.7
  },
  "luminance": 0.18436
}

Semantic roles & 50–950 ramp

primary
#D54242
secondary
#9AD8D8
accent
#E7E741
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #D54242

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

Preview Lab → · Contrast checker → · Palette generator →

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