#D8507F#D8507F

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

Color values

HEX#D8507F
RGBrgb(216, 80, 127)
HSLhsl(339, 64%, 58%)
HSVhsv(339, 63%, 85%)
CMYKcmyk(0%, 63%, 41.2%, 15.3%)
CIE-LABlab(53.89, 57.20, 2.34)
CIE-LCHlch(53.89, 57.24, 2.35°)
OKLaboklab(62.52% 0.1747 0.0067)
OKLCHoklch(62.52% 0.175 2.2)
XYZxyz(35.0207, 21.8726, 22.4522)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8507F #50D8A9
analogous
#D850C3 #D8507F #D86550
triadic
#D8507F #7FD850 #507FD8
tetradic
#D8507F #C3D850 #50D8A9 #6550D8
square
#D8507F #C3D850 #50D8A9 #6550D8
split-complementary
#D8507F #50D865 #50C3D8
monochromatic
#8E2046 #C02B5E #D8507F #E382A4 #EEB4C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8507F#FFFFFF#000000##000000
##D8507F1.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)
#6A7080
Deuteranopia (green-blind)
#8F8B7C
Tritanopia (blue-blind)
#E94162
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d8507f;
/* rgb */ color: rgb(216, 80, 127);
/* oklch */ color: oklch(62.5% 0.175 2.2);
Tailwind
colors: {
  custom: {
    50: '#e988a4',
    500: '#d8507f',
    950: '#000000',
  },
}
SCSS
$custom: #d8507f;
$custom-light: #e988a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8507f",
  "rgb": {
    "r": 216,
    "g": 80,
    "b": 127
  },
  "hsl": {
    "h": 339.265,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6252,
    "c": 0.17484,
    "h": 2.2
  },
  "luminance": 0.21869
}

Semantic roles & 50–950 ramp

primary
#D8507F
secondary
#A7DDCA
accent
#E7AD41
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D8507F

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

Preview Lab → · Contrast checker → · Palette generator →

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