#D8517F#D8517F

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

Color values

HEX#D8517F
RGBrgb(216, 81, 127)
HSLhsl(340, 63%, 58%)
HSVhsv(340, 63%, 85%)
CMYKcmyk(0%, 62.5%, 41.2%, 15.3%)
CIE-LABlab(54.05, 56.77, 2.57)
CIE-LCHlch(54.05, 56.83, 2.59°)
OKLaboklab(62.64% 0.1734 0.0073)
OKLCHoklch(62.64% 0.174 2.4)
XYZxyz(35.0944, 22.0202, 22.4768)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8517F #51D8AA
analogous
#D851C2 #D8517F #D86751
triadic
#D8517F #7FD851 #517FD8
tetradic
#D8517F #C2D851 #51D8AA #6751D8
square
#D8517F #C2D851 #51D8AA #6751D8
split-complementary
#D8517F #51D867 #51C2D8
monochromatic
#8F2046 #C12B5E #D8517F #E383A4 #EEB5C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8517F#FFFFFF#000000##000000
##D8517F1.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)
#6B7180
Deuteranopia (green-blind)
#8F8B7C
Tritanopia (blue-blind)
#E94263
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d8517f;
/* rgb */ color: rgb(216, 81, 127);
/* oklch */ color: oklch(62.6% 0.174 2.4);
Tailwind
colors: {
  custom: {
    50: '#e989a4',
    500: '#d8517f',
    950: '#000000',
  },
}
SCSS
$custom: #d8517f;
$custom-light: #e989a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8517f",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 339.556,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62637,
    "c": 0.17352,
    "h": 2.4
  },
  "luminance": 0.22016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8517F

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

Preview Lab → · Contrast checker → · Palette generator →

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