#D8517B#D8517B

#D8517B is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.5% C 0.172 H 4.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#D8517B
RGBrgb(216, 81, 123)
HSLhsl(341, 63%, 58%)
HSVhsv(341, 63%, 85%)
CMYKcmyk(0%, 62.5%, 43.1%, 15.3%)
CIE-LABlab(53.94, 56.37, 4.79)
CIE-LCHlch(53.94, 56.57, 4.86°)
OKLaboklab(62.52% 0.172 0.013)
OKLCHoklch(62.52% 0.172 4.3)
XYZxyz(34.8389, 21.9180, 21.1310)
Luminance0.2191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8517B #51D8AE
analogous
#D851BF #D8517B #D86A51
triadic
#D8517B #7BD851 #517BD8
tetradic
#D8517B #BFD851 #51D8AE #6A51D8
square
#D8517B #BFD851 #51D8AE #6A51D8
split-complementary
#D8517B #51D86A #51BFD8
monochromatic
#8F2042 #C12B5A #D8517B #E383A1 #EEB5C7

Accessibility & contrast

On white

3.90
#D8517B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#D8517B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8517B
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8517B#FFFFFF#000000##000000
##D8517B1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C707C
Deuteranopia (green-blind)
#908B78
Tritanopia (blue-blind)
#EA4061
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d8517b;
/* rgb */ color: rgb(216, 81, 123);
/* oklch */ color: oklch(62.5% 0.172 4.3);
Tailwind
colors: {
  custom: {
    50: '#e989a1',
    500: '#d8517b',
    950: '#000000',
  },
}
SCSS
$custom: #d8517b;
$custom-light: #e989a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8517b",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 123
  },
  "hsl": {
    "h": 341.333,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62521,
    "c": 0.17245,
    "h": 4.3
  },
  "luminance": 0.21914
}

Semantic roles & 50–950 ramp

primary
#D8517B
secondary
#A8DDCD
accent
#E6B341
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #D8517B

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

Preview Lab → · Contrast checker → · Palette generator →

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