#D8508A#D8508A

#D8508A is a light, vivid pink. Relative luminance 0.222; OKLCH L 62.9% C 0.179 H 357.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D8508A
RGBrgb(216, 80, 138)
HSLhsl(334, 64%, 58%)
HSVhsv(334, 63%, 85%)
CMYKcmyk(0%, 63%, 36.1%, 15.3%)
CIE-LABlab(54.21, 58.38, -3.71)
CIE-LCHlch(54.21, 58.49, 356.36°)
OKLaboklab(62.86% 0.1784 -0.009)
OKLCHoklch(62.86% 0.179 357.1)
XYZxyz(35.7771, 22.1752, 26.4360)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8508A #50D89E
analogous
#D850CE #D8508A #D85A50
triadic
#D8508A #8AD850 #508AD8
tetradic
#D8508A #CED850 #50D89E #5A50D8
square
#D8508A #CED850 #50D89E #5A50D8
split-complementary
#D8508A #50D85A #50CED8
monochromatic
#8E204F #C02B6A #D8508A #E382AB #EEB4CD

Accessibility & contrast

On white

3.86
#D8508A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D8508A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8508A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8508A#FFFFFF#000000##000000
##D8508A1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#67728C
Deuteranopia (green-blind)
#8C8B87
Tritanopia (blue-blind)
#E84467
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d8508a;
/* rgb */ color: rgb(216, 80, 138);
/* oklch */ color: oklch(62.9% 0.179 357.1);
Tailwind
colors: {
  custom: {
    50: '#e888ac',
    500: '#d8508a',
    950: '#000000',
  },
}
SCSS
$custom: #d8508a;
$custom-light: #e888ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d8508a",
  "rgb": {
    "r": 216,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 334.412,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62864,
    "c": 0.17859,
    "h": 357.1
  },
  "luminance": 0.22171
}

Semantic roles & 50–950 ramp

primary
#D8508A
secondary
#A7DDC6
accent
#E7A041
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #D8508A

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

Preview Lab → · Contrast checker → · Palette generator →

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