#D8517E#D8517E

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

Color values

HEX#D8517E
RGBrgb(216, 81, 126)
HSLhsl(340, 63%, 58%)
HSVhsv(340, 63%, 85%)
CMYKcmyk(0%, 62.5%, 41.7%, 15.3%)
CIE-LABlab(54.02, 56.67, 3.13)
CIE-LCHlch(54.02, 56.76, 3.16°)
OKLaboklab(62.61% 0.173 0.0087)
OKLCHoklch(62.61% 0.173 2.9)
XYZxyz(35.0296, 21.9942, 22.1352)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8517E #51D8AB
analogous
#D851C1 #D8517E #D86751
triadic
#D8517E #7ED851 #517ED8
tetradic
#D8517E #C1D851 #51D8AB #6751D8
square
#D8517E #C1D851 #51D8AB #6751D8
split-complementary
#D8517E #51D867 #51C1D8
monochromatic
#8F2045 #C12B5D #D8517E #E383A3 #EEB5C8

Accessibility & contrast

On white

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

On black

5.40
#D8517E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8517E
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8517E#FFFFFF#000000##000000
##D8517E1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B717F
Deuteranopia (green-blind)
#8F8B7B
Tritanopia (blue-blind)
#E94163
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d8517e;
/* rgb */ color: rgb(216, 81, 126);
/* oklch */ color: oklch(62.6% 0.173 2.9);
Tailwind
colors: {
  custom: {
    50: '#e989a3',
    500: '#d8517e',
    950: '#000000',
  },
}
SCSS
$custom: #d8517e;
$custom-light: #e989a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d8517e",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 340,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62607,
    "c": 0.17324,
    "h": 2.9
  },
  "luminance": 0.2199
}

Semantic roles & 50–950 ramp

primary
#D8517E
secondary
#A8DDCB
accent
#E6AF41
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D8517E

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

Preview Lab → · Contrast checker → · Palette generator →

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