#D54F48#D54F48

#D54F48 is a mid, vivid red. Relative luminance 0.202; OKLCH L 60.7% C 0.170 H 26.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D54F48
RGBrgb(213, 79, 72)
HSLhsl(3, 63%, 56%)
HSVhsv(3, 66%, 84%)
CMYKcmyk(0%, 62.9%, 66.2%, 16.5%)
CIE-LABlab(52.07, 52.26, 32.31)
CIE-LCHlch(52.07, 61.44, 31.73°)
OKLaboklab(60.69% 0.1525 0.0757)
OKLCHoklch(60.69% 0.17 26.4)
XYZxyz(31.4094, 20.2103, 8.3767)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54F48 #48CED5
analogous
#D54887 #D54F48 #D59548
triadic
#D54F48 #48D54F #4F48D5
tetradic
#D54F48 #87D548 #48CED5 #9548D5
square
#D54F48 #87D548 #48CED5 #9548D5
split-complementary
#D54F48 #48D595 #4887D5
monochromatic
#84231E #B6312A #D54F48 #E07F7A #ECAFAC

Accessibility & contrast

On white

4.17
#D54F48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#D54F48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54F48
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54F48#FFFFFF#000000##000000
##D54F481.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#736A46
Deuteranopia (green-blind)
#948744
Tritanopia (blue-blind)
#E9314E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d54f48;
/* rgb */ color: rgb(213, 79, 72);
/* oklch */ color: oklch(60.7% 0.170 26.4);
Tailwind
colors: {
  custom: {
    50: '#e9867b',
    500: '#d54f48',
    950: '#000000',
  },
}
SCSS
$custom: #d54f48;
$custom-light: #e9867b;
$custom-dark: #000000;
JSON
{
  "hex": "#d54f48",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 72
  },
  "hsl": {
    "h": 2.979,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60689,
    "c": 0.17028,
    "h": 26.4
  },
  "luminance": 0.20206
}

Semantic roles & 50–950 ramp

primary
#D54F48
secondary
#9FD7DA
accent
#DEE642
background
#FFF8F7
surface
#FFF0EE
border
#D7CBC9
text
#170C09
muted
#857D7B

Preview Lab

Preview with #D54F48

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

Preview Lab → · Contrast checker → · Palette generator →

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