#D54F52#D54F52

#D54F52 is a mid, vivid red. Relative luminance 0.203; OKLCH L 60.9% C 0.169 H 22.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#D54F52
RGBrgb(213, 79, 82)
HSLhsl(359, 61%, 57%)
HSVhsv(359, 63%, 84%)
CMYKcmyk(0%, 62.9%, 61.5%, 16.5%)
CIE-LABlab(52.23, 52.87, 26.70)
CIE-LCHlch(52.23, 59.23, 26.80°)
OKLaboklab(60.86% 0.1563 0.0642)
OKLCHoklch(60.86% 0.169 22.3)
XYZxyz(31.7626, 20.3516, 10.2367)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54F52 #4FD5D2
analogous
#D54F95 #D54F52 #D58F4F
triadic
#D54F52 #52D54F #4F52D5
tetradic
#D54F52 #95D54F #4FD5D2 #8F4FD5
square
#D54F52 #95D54F #4FD5D2 #8F4FD5
split-complementary
#D54F52 #4FD58F #4F95D5
monochromatic
#892123 #BA2C30 #D54F52 #E18083 #EDB2B3

Accessibility & contrast

On white

4.14
#D54F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#D54F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54F52
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54F52#FFFFFF#000000##000000
##D54F521.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#716B51
Deuteranopia (green-blind)
#93874F
Tritanopia (blue-blind)
#E93351
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d54f52;
/* rgb */ color: rgb(213, 79, 82);
/* oklch */ color: oklch(60.9% 0.169 22.3);
Tailwind
colors: {
  custom: {
    50: '#e98682',
    500: '#d54f52',
    950: '#000000',
  },
}
SCSS
$custom: #d54f52;
$custom-light: #e98682;
$custom-dark: #000000;
JSON
{
  "hex": "#d54f52",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 82
  },
  "hsl": {
    "h": 358.657,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60858,
    "c": 0.16897,
    "h": 22.3
  },
  "luminance": 0.20347
}

Semantic roles & 50–950 ramp

primary
#D54F52
secondary
#A5DBDA
accent
#E5E143
background
#FFF8F7
surface
#FEF0EE
border
#D6CBC9
text
#170C0A
muted
#857D7C

Preview Lab

Preview with #D54F52

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

Preview Lab → · Contrast checker → · Palette generator →

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