#D54E52#D54E52

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

Color values

HEX#D54E52
RGBrgb(213, 78, 82)
HSLhsl(358, 62%, 57%)
HSVhsv(358, 63%, 84%)
CMYKcmyk(0%, 63.4%, 61.5%, 16.5%)
CIE-LABlab(52.07, 53.30, 26.49)
CIE-LCHlch(52.07, 59.52, 26.43°)
OKLaboklab(60.74% 0.1577 0.0638)
OKLCHoklch(60.74% 0.17 22)
XYZxyz(31.6910, 20.2084, 10.2128)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54E52 #4ED5D1
analogous
#D54E96 #D54E52 #D58D4E
triadic
#D54E52 #52D54E #4E52D5
tetradic
#D54E52 #96D54E #4ED5D1 #8D4ED5
square
#D54E52 #96D54E #4ED5D1 #8D4ED5
split-complementary
#D54E52 #4ED58D #4E96D5
monochromatic
#882023 #BA2C30 #D54E52 #E17F82 #ECB1B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D54E52#FFFFFF#000000##000000
##D54E521.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)
#716A51
Deuteranopia (green-blind)
#93874E
Tritanopia (blue-blind)
#E93151
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d54e52;
/* rgb */ color: rgb(213, 78, 82);
/* oklch */ color: oklch(60.7% 0.170 22.0);
Tailwind
colors: {
  custom: {
    50: '#e98682',
    500: '#d54e52',
    950: '#000000',
  },
}
SCSS
$custom: #d54e52;
$custom-light: #e98682;
$custom-dark: #000000;
JSON
{
  "hex": "#d54e52",
  "rgb": {
    "r": 213,
    "g": 78,
    "b": 82
  },
  "hsl": {
    "h": 358.222,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60738,
    "c": 0.17006,
    "h": 22
  },
  "luminance": 0.20204
}

Semantic roles & 50–950 ramp

primary
#D54E52
secondary
#A4DBD9
accent
#E5E043
background
#FFF8F7
surface
#FEF0EE
border
#D6CBC9
text
#170C0A
muted
#857D7C

Preview Lab

Preview with #D54E52

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

Preview Lab → · Contrast checker → · Palette generator →

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