#D54D5F#D54D5F

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

Color values

HEX#D54D5F
RGBrgb(213, 77, 95)
HSLhsl(352, 62%, 57%)
HSVhsv(352, 64%, 84%)
CMYKcmyk(0%, 63.8%, 55.4%, 16.5%)
CIE-LABlab(52.16, 54.64, 18.91)
CIE-LCHlch(52.16, 57.82, 19.09°)
OKLaboklab(60.88% 0.164 0.047)
OKLCHoklch(60.88% 0.171 16)
XYZxyz(32.1629, 20.2843, 13.0459)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54D5F #4DD5C3
analogous
#D54DA3 #D54D5F #D57F4D
triadic
#D54D5F #5FD54D #4D5FD5
tetradic
#D54D5F #A3D54D #4DD5C3 #7F4DD5
square
#D54D5F #A3D54D #4DD5C3 #7F4DD5
split-complementary
#D54D5F #4DD57F #4DA3D5
monochromatic
#88202E #B92C3E #D54D5F #E17F8C #ECB0B8

Accessibility & contrast

On white

4.15
#D54D5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#D54D5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54D5F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54D5F#FFFFFF#000000##000000
##D54D5F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E6B5F
Deuteranopia (green-blind)
#91875C
Tritanopia (blue-blind)
#E83454
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d54d5f;
/* rgb */ color: rgb(213, 77, 95);
/* oklch */ color: oklch(60.9% 0.171 16.0);
Tailwind
colors: {
  custom: {
    50: '#e8868c',
    500: '#d54d5f',
    950: '#000000',
  },
}
SCSS
$custom: #d54d5f;
$custom-light: #e8868c;
$custom-dark: #000000;
JSON
{
  "hex": "#d54d5f",
  "rgb": {
    "r": 213,
    "g": 77,
    "b": 95
  },
  "hsl": {
    "h": 352.059,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60881,
    "c": 0.17065,
    "h": 16
  },
  "luminance": 0.2028
}

Semantic roles & 50–950 ramp

primary
#D54D5F
secondary
#A3DBD3
accent
#E5CF43
background
#FFF8F8
surface
#FEF0F0
border
#D6CBCB
text
#170C0C
muted
#857D7D

Preview Lab

Preview with #D54D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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