#D8507D#D8507D

#D8507D is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.5% C 0.174 H 3.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#D8507D
RGBrgb(216, 80, 125)
HSLhsl(340, 64%, 58%)
HSVhsv(340, 63%, 85%)
CMYKcmyk(0%, 63%, 42.1%, 15.3%)
CIE-LABlab(53.84, 56.99, 3.45)
CIE-LCHlch(53.84, 57.10, 3.47°)
OKLaboklab(62.46% 0.174 0.0096)
OKLCHoklch(62.46% 0.174 3.1)
XYZxyz(34.8916, 21.8210, 21.7725)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8507D #50D8AB
analogous
#D850C1 #D8507D #D86750
triadic
#D8507D #7DD850 #507DD8
tetradic
#D8507D #C1D850 #50D8AB #6750D8
square
#D8507D #C1D850 #50D8AB #6750D8
split-complementary
#D8507D #50D867 #50C1D8
monochromatic
#8E2044 #C02B5C #D8507D #E382A2 #EEB4C7

Accessibility & contrast

On white

3.92
#D8507D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#D8507D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8507D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8507D#FFFFFF#000000##000000
##D8507D1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B707E
Deuteranopia (green-blind)
#8F8A7A
Tritanopia (blue-blind)
#EA4062
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d8507d;
/* rgb */ color: rgb(216, 80, 125);
/* oklch */ color: oklch(62.5% 0.174 3.1);
Tailwind
colors: {
  custom: {
    50: '#e988a2',
    500: '#d8507d',
    950: '#000000',
  },
}
SCSS
$custom: #d8507d;
$custom-light: #e988a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d8507d",
  "rgb": {
    "r": 216,
    "g": 80,
    "b": 125
  },
  "hsl": {
    "h": 340.147,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62461,
    "c": 0.17427,
    "h": 3.1
  },
  "luminance": 0.21817
}

Semantic roles & 50–950 ramp

primary
#D8507D
secondary
#A7DDCB
accent
#E7B041
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0F
muted
#857D7E

Preview Lab

Preview with #D8507D

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

Preview Lab → · Contrast checker → · Palette generator →

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