#D8487C#D8487C

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

Color values

HEX#D8487C
RGBrgb(216, 72, 124)
HSLhsl(338, 65%, 56%)
HSVhsv(338, 67%, 85%)
CMYKcmyk(0%, 66.7%, 42.6%, 15.3%)
CIE-LABlab(52.61, 60.16, 2.28)
CIE-LCHlch(52.61, 60.20, 2.17°)
OKLaboklab(61.54% 0.184 0.0066)
OKLCHoklch(61.54% 0.184 2)
XYZxyz(34.2768, 20.6931, 21.2540)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8487C #48D8A4
analogous
#D848C4 #D8487C #D85C48
triadic
#D8487C #7CD848 #487CD8
tetradic
#D8487C #C4D848 #48D8A4 #5C48D8
square
#D8487C #C4D848 #48D8A4 #5C48D8
split-complementary
#D8487C #48D85C #48C4D8
monochromatic
#891D44 #BB285D #D8487C #E37AA0 #EEADC4

Accessibility & contrast

On white

4.09
#D8487C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8487C#FFFFFF#000000##000000
##D8487C1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7D
Deuteranopia (green-blind)
#8C8879
Tritanopia (blue-blind)
#EA355D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d8487c;
/* rgb */ color: rgb(216, 72, 124);
/* oklch */ color: oklch(61.5% 0.184 2.0);
Tailwind
colors: {
  custom: {
    50: '#e984a1',
    500: '#d8487c',
    950: '#000000',
  },
}
SCSS
$custom: #d8487c;
$custom-light: #e984a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8487c",
  "rgb": {
    "r": 216,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 338.333,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61543,
    "c": 0.18412,
    "h": 2
  },
  "luminance": 0.20689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8487C

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

Preview Lab → · Contrast checker → · Palette generator →

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