#D54D87#D54D87

#D54D87 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 62.0% C 0.179 H 357.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#D54D87
RGBrgb(213, 77, 135)
HSLhsl(334, 62%, 57%)
HSVhsv(334, 64%, 84%)
CMYKcmyk(0%, 63.8%, 36.6%, 16.5%)
CIE-LABlab(53.18, 58.39, -3.52)
CIE-LCHlch(53.18, 58.50, 356.55°)
OKLaboklab(61.97% 0.1785 -0.0085)
OKLCHoklch(61.97% 0.179 357.3)
XYZxyz(34.4697, 21.2070, 25.1951)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54D87 #4DD59B
analogous
#D54DCB #D54D87 #D5574D
triadic
#D54D87 #87D54D #4D87D5
tetradic
#D54D87 #CBD54D #4DD59B #574DD5
square
#D54D87 #CBD54D #4DD59B #574DD5
split-complementary
#D54D87 #4DD557 #4DCBD5
monochromatic
#88204C #B92C68 #D54D87 #E17FA8 #ECB0CA

Accessibility & contrast

On white

4.01
#D54D87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#D54D87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54D87
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54D87#FFFFFF#000000##000000
##D54D871.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#656F89
Deuteranopia (green-blind)
#8A8884
Tritanopia (blue-blind)
#E54164
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d54d87;
/* rgb */ color: rgb(213, 77, 135);
/* oklch */ color: oklch(62.0% 0.179 357.3);
Tailwind
colors: {
  custom: {
    50: '#e686a9',
    500: '#d54d87',
    950: '#000000',
  },
}
SCSS
$custom: #d54d87;
$custom-light: #e686a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d54d87",
  "rgb": {
    "r": 213,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 334.412,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61972,
    "c": 0.1787,
    "h": 357.3
  },
  "luminance": 0.21203
}

Semantic roles & 50–950 ramp

primary
#D54D87
secondary
#A3DBC3
accent
#E5A043
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #D54D87

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

Preview Lab → · Contrast checker → · Palette generator →

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