#D54F42#D54F42

#D54F42 is a mid, vivid red. Relative luminance 0.201; OKLCH L 60.6% C 0.171 H 28.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D54F42
RGBrgb(213, 79, 66)
HSLhsl(5, 64%, 55%)
HSVhsv(5, 69%, 84%)
CMYKcmyk(0%, 62.9%, 69%, 16.5%)
CIE-LABlab(51.99, 51.94, 35.62)
CIE-LCHlch(51.99, 62.98, 34.45°)
OKLaboklab(60.6% 0.1503 0.0822)
OKLCHoklch(60.6% 0.171 28.7)
XYZxyz(31.2231, 20.1358, 7.3957)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54F42 #42C8D5
analogous
#D5427F #D54F42 #D59842
triadic
#D54F42 #42D54F #4F42D5
tetradic
#D54F42 #7FD542 #42C8D5 #9842D5
square
#D54F42 #7FD542 #42C8D5 #9842D5
split-complementary
#D54F42 #42D598 #427FD5
monochromatic
#80251C #B23428 #D54F42 #E07E74 #EBACA6

Accessibility & contrast

On white

4.18
#D54F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#D54F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54F42
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54F42#FFFFFF#000000##000000
##D54F421.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#736A40
Deuteranopia (green-blind)
#95873E
Tritanopia (blue-blind)
#EA2F4D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d54f42;
/* rgb */ color: rgb(213, 79, 66);
/* oklch */ color: oklch(60.6% 0.171 28.7);
Tailwind
colors: {
  custom: {
    50: '#e98677',
    500: '#d54f42',
    950: '#000000',
  },
}
SCSS
$custom: #d54f42;
$custom-light: #e98677;
$custom-dark: #000000;
JSON
{
  "hex": "#d54f42",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 66
  },
  "hsl": {
    "h": 5.306,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60599,
    "c": 0.1713,
    "h": 28.7
  },
  "luminance": 0.20131
}

Semantic roles & 50–950 ramp

primary
#D54F42
secondary
#9AD3D8
accent
#D8E741
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180C08
muted
#867D7B

Preview Lab

Preview with #D54F42

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

Preview Lab → · Contrast checker → · Palette generator →

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