#D8507E#D8507E

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

Color values

HEX#D8507E
RGBrgb(216, 80, 126)
HSLhsl(340, 64%, 58%)
HSVhsv(340, 63%, 85%)
CMYKcmyk(0%, 63%, 41.7%, 15.3%)
CIE-LABlab(53.86, 57.09, 2.90)
CIE-LCHlch(53.86, 57.17, 2.91°)
OKLaboklab(62.49% 0.1744 0.0082)
OKLCHoklch(62.49% 0.175 2.7)
XYZxyz(34.9558, 21.8467, 22.1106)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8507E #50D8AA
analogous
#D850C2 #D8507E #D86650
triadic
#D8507E #7ED850 #507ED8
tetradic
#D8507E #C2D850 #50D8AA #6650D8
square
#D8507E #C2D850 #50D8AA #6650D8
split-complementary
#D8507E #50D866 #50C2D8
monochromatic
#8E2045 #C02B5D #D8507E #E382A3 #EEB4C8

Accessibility & contrast

On white

3.91
#D8507E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#D8507E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8507E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8507E#FFFFFF#000000##000000
##D8507E1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B707F
Deuteranopia (green-blind)
#8F8B7B
Tritanopia (blue-blind)
#E94062
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d8507e;
/* rgb */ color: rgb(216, 80, 126);
/* oklch */ color: oklch(62.5% 0.175 2.7);
Tailwind
colors: {
  custom: {
    50: '#e988a3',
    500: '#d8507e',
    950: '#000000',
  },
}
SCSS
$custom: #d8507e;
$custom-light: #e988a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d8507e",
  "rgb": {
    "r": 216,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 339.706,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62491,
    "c": 0.17455,
    "h": 2.7
  },
  "luminance": 0.21843
}

Semantic roles & 50–950 ramp

primary
#D8507E
secondary
#A7DDCB
accent
#E7AF41
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D8507E

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

Preview Lab → · Contrast checker → · Palette generator →

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