#D8517C#D8517C

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

Color values

HEX#D8517C
RGBrgb(216, 81, 124)
HSLhsl(341, 63%, 58%)
HSVhsv(341, 63%, 85%)
CMYKcmyk(0%, 62.5%, 42.6%, 15.3%)
CIE-LABlab(53.97, 56.47, 4.24)
CIE-LCHlch(53.97, 56.63, 4.29°)
OKLaboklab(62.55% 0.1723 0.0116)
OKLCHoklch(62.55% 0.173 3.8)
XYZxyz(34.9018, 21.9431, 21.4623)
Luminance0.2194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8517C #51D8AD
analogous
#D851BF #D8517C #D86951
triadic
#D8517C #7CD851 #517CD8
tetradic
#D8517C #BFD851 #51D8AD #6951D8
square
#D8517C #BFD851 #51D8AD #6951D8
split-complementary
#D8517C #51D869 #51BFD8
monochromatic
#8F2043 #C12B5B #D8517C #E383A2 #EEB5C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8517C#FFFFFF#000000##000000
##D8517C1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8517c;
/* rgb */ color: rgb(216, 81, 124);
/* oklch */ color: oklch(62.5% 0.173 3.8);
Tailwind
colors: {
  custom: {
    50: '#e989a1',
    500: '#d8517c',
    950: '#000000',
  },
}
SCSS
$custom: #d8517c;
$custom-light: #e989a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8517c",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 340.889,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62549,
    "c": 0.17271,
    "h": 3.8
  },
  "luminance": 0.21939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8517C

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

Preview Lab → · Contrast checker → · Palette generator →

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