#D54C87#D54C87

#D54C87 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.180 H 357.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#D54C87
RGBrgb(213, 76, 135)
HSLhsl(334, 62%, 57%)
HSVhsv(334, 64%, 84%)
CMYKcmyk(0%, 64.3%, 36.6%, 16.5%)
CIE-LABlab(53.02, 58.81, -3.74)
CIE-LCHlch(53.02, 58.92, 356.36°)
OKLaboklab(61.86% 0.1798 -0.0091)
OKLCHoklch(61.86% 0.18 357.1)
XYZxyz(34.4003, 21.0682, 25.1720)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54C87 #4CD59A
analogous
#D54CCB #D54C87 #D5564C
triadic
#D54C87 #87D54C #4C87D5
tetradic
#D54C87 #CBD54C #4CD59A #564CD5
square
#D54C87 #CBD54C #4CD59A #564CD5
split-complementary
#D54C87 #4CD556 #4CCBD5
monochromatic
#87204C #B92B68 #D54C87 #E17EA8 #ECAFC9

Accessibility & contrast

On white

4.03
#D54C87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#D54C87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54C87
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54C87#FFFFFF#000000##000000
##D54C871.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#646E89
Deuteranopia (green-blind)
#898884
Tritanopia (blue-blind)
#E54064
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d54c87;
/* rgb */ color: rgb(213, 76, 135);
/* oklch */ color: oklch(61.9% 0.180 357.1);
Tailwind
colors: {
  custom: {
    50: '#e686a9',
    500: '#d54c87',
    950: '#000000',
  },
}
SCSS
$custom: #d54c87;
$custom-light: #e686a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d54c87",
  "rgb": {
    "r": 213,
    "g": 76,
    "b": 135
  },
  "hsl": {
    "h": 334.161,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6186,
    "c": 0.18002,
    "h": 357.1
  },
  "luminance": 0.21064
}

Semantic roles & 50–950 ramp

primary
#D54C87
secondary
#A2DAC2
accent
#E59F43
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #D54C87

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

Preview Lab → · Contrast checker → · Palette generator →

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