#D8517A#D8517A

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

Color values

HEX#D8517A
RGBrgb(216, 81, 122)
HSLhsl(342, 63%, 58%)
HSVhsv(342, 63%, 85%)
CMYKcmyk(0%, 62.5%, 43.5%, 15.3%)
CIE-LABlab(53.91, 56.27, 5.35)
CIE-LCHlch(53.91, 56.52, 5.43°)
OKLaboklab(62.49% 0.1716 0.0144)
OKLCHoklch(62.49% 0.172 4.8)
XYZxyz(34.7766, 21.8931, 20.8030)
Luminance0.2189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8517A #51D8AF
analogous
#D851BD #D8517A #D86B51
triadic
#D8517A #7AD851 #517AD8
tetradic
#D8517A #BDD851 #51D8AF #6B51D8
square
#D8517A #BDD851 #51D8AF #6B51D8
split-complementary
#D8517A #51D86B #51BDD8
monochromatic
#8F2042 #C12B59 #D8517A #E383A0 #EEB5C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8517A#FFFFFF#000000##000000
##D8517A1.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)
#6C707B
Deuteranopia (green-blind)
#908B77
Tritanopia (blue-blind)
#EA4061
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d8517a;
/* rgb */ color: rgb(216, 81, 122);
/* oklch */ color: oklch(62.5% 0.172 4.8);
Tailwind
colors: {
  custom: {
    50: '#e989a0',
    500: '#d8517a',
    950: '#000000',
  },
}
SCSS
$custom: #d8517a;
$custom-light: #e989a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d8517a",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 341.778,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62492,
    "c": 0.17221,
    "h": 4.8
  },
  "luminance": 0.21889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8517A

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

Preview Lab → · Contrast checker → · Palette generator →

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