#D8487B#D8487B

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

Color values

HEX#D8487B
RGBrgb(216, 72, 123)
HSLhsl(339, 65%, 56%)
HSVhsv(339, 67%, 85%)
CMYKcmyk(0%, 66.7%, 43.1%, 15.3%)
CIE-LABlab(52.58, 60.06, 2.84)
CIE-LCHlch(52.58, 60.12, 2.70°)
OKLaboklab(61.51% 0.1837 0.008)
OKLCHoklch(61.51% 0.184 2.5)
XYZxyz(34.2139, 20.6679, 20.9226)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8487B #48D8A5
analogous
#D848C3 #D8487B #D85D48
triadic
#D8487B #7BD848 #487BD8
tetradic
#D8487B #C3D848 #48D8A5 #5D48D8
square
#D8487B #C3D848 #48D8A5 #5D48D8
split-complementary
#D8487B #48D85D #48C3D8
monochromatic
#891D43 #BB285C #D8487B #E37A9F #EEADC4

Accessibility & contrast

On white

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

On black

5.13
#D8487B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8487B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8487B#FFFFFF#000000##000000
##D8487B1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7C
Deuteranopia (green-blind)
#8C8878
Tritanopia (blue-blind)
#EA355D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d8487b;
/* rgb */ color: rgb(216, 72, 123);
/* oklch */ color: oklch(61.5% 0.184 2.5);
Tailwind
colors: {
  custom: {
    50: '#e984a1',
    500: '#d8487b',
    950: '#000000',
  },
}
SCSS
$custom: #d8487b;
$custom-light: #e984a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8487b",
  "rgb": {
    "r": 216,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 338.75,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61513,
    "c": 0.18383,
    "h": 2.5
  },
  "luminance": 0.20664
}

Semantic roles & 50–950 ramp

primary
#D8487B
secondary
#A0DBC7
accent
#E8AC40
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #D8487B

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

Preview Lab → · Contrast checker → · Palette generator →

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