#D8517D#D8517D

#D8517D is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.6% C 0.173 H 3.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#D8517D
RGBrgb(216, 81, 125)
HSLhsl(340, 63%, 58%)
HSVhsv(340, 63%, 85%)
CMYKcmyk(0%, 62.5%, 42.1%, 15.3%)
CIE-LABlab(53.99, 56.57, 3.68)
CIE-LCHlch(53.99, 56.69, 3.72°)
OKLaboklab(62.58% 0.1727 0.0102)
OKLCHoklch(62.58% 0.173 3.4)
XYZxyz(34.9654, 21.9686, 21.7971)
Luminance0.2196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8517D #51D8AC
analogous
#D851C1 #D8517D #D86851
triadic
#D8517D #7DD851 #517DD8
tetradic
#D8517D #C1D851 #51D8AC #6851D8
square
#D8517D #C1D851 #51D8AC #6851D8
split-complementary
#D8517D #51D868 #51C1D8
monochromatic
#8F2044 #C12B5C #D8517D #E383A2 #EEB5C8

Accessibility & contrast

On white

3.89
#D8517D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#D8517D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8517D
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8517D#FFFFFF#000000##000000
##D8517D1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C717E
Deuteranopia (green-blind)
#8F8B7A
Tritanopia (blue-blind)
#EA4162
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d8517d;
/* rgb */ color: rgb(216, 81, 125);
/* oklch */ color: oklch(62.6% 0.173 3.4);
Tailwind
colors: {
  custom: {
    50: '#e989a2',
    500: '#d8517d',
    950: '#000000',
  },
}
SCSS
$custom: #d8517d;
$custom-light: #e989a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d8517d",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 340.444,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62578,
    "c": 0.17297,
    "h": 3.4
  },
  "luminance": 0.21964
}

Semantic roles & 50–950 ramp

primary
#D8517D
secondary
#A8DDCC
accent
#E6B141
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0F
muted
#857D7E

Preview Lab

Preview with #D8517D

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

Preview Lab → · Contrast checker → · Palette generator →

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