#D9517C#D9517C

#D9517C is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.7% C 0.174 H 4.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#D9517C
RGBrgb(217, 81, 124)
HSLhsl(341, 64%, 58%)
HSVhsv(341, 63%, 85%)
CMYKcmyk(0%, 62.7%, 42.9%, 14.9%)
CIE-LABlab(54.13, 56.78, 4.49)
CIE-LCHlch(54.13, 56.96, 4.52°)
OKLaboklab(62.7% 0.1733 0.0122)
OKLCHoklch(62.7% 0.174 4)
XYZxyz(35.1982, 22.0960, 21.4762)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9517C #51D9AE
analogous
#D951C0 #D9517C #D96A51
triadic
#D9517C #7CD951 #517CD9
tetradic
#D9517C #C0D951 #51D9AE #6A51D9
square
#D9517C #C0D951 #51D9AE #6A51D9
split-complementary
#D9517C #51D96A #51C0D9
monochromatic
#901F43 #C22A5A #D9517C #E483A2 #EFB5C8

Accessibility & contrast

On white

3.88
#D9517C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#D9517C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D9517C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9517C#FFFFFF#000000##000000
##D9517C1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C717D
Deuteranopia (green-blind)
#908B79
Tritanopia (blue-blind)
#EB4062
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d9517c;
/* rgb */ color: rgb(217, 81, 124);
/* oklch */ color: oklch(62.7% 0.174 4.0);
Tailwind
colors: {
  custom: {
    50: '#ea89a1',
    500: '#d9517c',
    950: '#000000',
  },
}
SCSS
$custom: #d9517c;
$custom-light: #ea89a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d9517c",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 341.029,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62701,
    "c": 0.17369,
    "h": 4
  },
  "luminance": 0.22092
}

Semantic roles & 50–950 ramp

primary
#D9517C
secondary
#A8DECD
accent
#E7B341
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0F
muted
#857D7E

Preview Lab

Preview with #D9517C

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

Preview Lab → · Contrast checker → · Palette generator →

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