#D54D97#D54D97

#D54D97 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.5% C 0.186 H 350.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#D54D97
RGBrgb(213, 77, 151)
HSLhsl(327, 62%, 57%)
HSVhsv(327, 64%, 84%)
CMYKcmyk(0%, 63.8%, 29.1%, 16.5%)
CIE-LABlab(53.70, 60.27, -12.22)
CIE-LCHlch(53.70, 61.50, 348.54°)
OKLaboklab(62.53% 0.1832 -0.0318)
OKLCHoklch(62.53% 0.186 350.2)
XYZxyz(35.6820, 21.6920, 31.5800)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54D97 #4DD58B
analogous
#CF4DD5 #D54D97 #D54D53
triadic
#D54D97 #97D54D #4D97D5
tetradic
#D54D97 #D5CF4D #4DD58B #4D53D5
square
#D54D97 #D5CF4D #4DD58B #4D53D5
split-complementary
#D54D97 #53D54D #4DD5CF
monochromatic
#882058 #B92C79 #D54D97 #E17FB4 #ECB0D1

Accessibility & contrast

On white

3.93
#D54D97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#D54D97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54D97
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54D97#FFFFFF#000000##000000
##D54D971.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#607199
Deuteranopia (green-blind)
#868994
Tritanopia (blue-blind)
#E4476C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d54d97;
/* rgb */ color: rgb(213, 77, 151);
/* oklch */ color: oklch(62.5% 0.186 350.2);
Tailwind
colors: {
  custom: {
    50: '#e687b5',
    500: '#d54d97',
    950: '#000000',
  },
}
SCSS
$custom: #d54d97;
$custom-light: #e687b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d54d97",
  "rgb": {
    "r": 213,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 327.353,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6253,
    "c": 0.18595,
    "h": 350.2
  },
  "luminance": 0.21688
}

Semantic roles & 50–950 ramp

primary
#D54D97
secondary
#A3DBBC
accent
#E58D43
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D54D97

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

Preview Lab → · Contrast checker → · Palette generator →

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