#D8487D#D8487D

#D8487D is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.6% C 0.184 H 1.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D8487D
RGBrgb(216, 72, 125)
HSLhsl(338, 65%, 56%)
HSVhsv(338, 67%, 85%)
CMYKcmyk(0%, 66.7%, 42.1%, 15.3%)
CIE-LABlab(52.64, 60.25, 1.72)
CIE-LCHlch(52.64, 60.28, 1.64°)
OKLaboklab(61.57% 0.1843 0.0052)
OKLCHoklch(61.57% 0.184 1.6)
XYZxyz(34.3404, 20.7185, 21.5888)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8487D #48D8A3
analogous
#D848C5 #D8487D #D85B48
triadic
#D8487D #7DD848 #487DD8
tetradic
#D8487D #C5D848 #48D8A3 #5B48D8
square
#D8487D #C5D848 #48D8A3 #5B48D8
split-complementary
#D8487D #48D85B #48C5D8
monochromatic
#891D45 #BB285E #D8487D #E37AA1 #EEADC5

Accessibility & contrast

On white

4.08
#D8487D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#D8487D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8487D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8487D#FFFFFF#000000##000000
##D8487D1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7E
Deuteranopia (green-blind)
#8C887A
Tritanopia (blue-blind)
#EA365D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d8487d;
/* rgb */ color: rgb(216, 72, 125);
/* oklch */ color: oklch(61.6% 0.184 1.6);
Tailwind
colors: {
  custom: {
    50: '#e984a2',
    500: '#d8487d',
    950: '#000000',
  },
}
SCSS
$custom: #d8487d;
$custom-light: #e984a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d8487d",
  "rgb": {
    "r": 216,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 337.917,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61573,
    "c": 0.18441,
    "h": 1.6
  },
  "luminance": 0.20714
}

Semantic roles & 50–950 ramp

primary
#D8487D
secondary
#A0DBC6
accent
#E8AA40
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0F
muted
#857D7E

Preview Lab

Preview with #D8487D

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

Preview Lab → · Contrast checker → · Palette generator →

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