#D8487E#D8487E

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

Color values

HEX#D8487E
RGBrgb(216, 72, 126)
HSLhsl(338, 65%, 56%)
HSVhsv(338, 67%, 85%)
CMYKcmyk(0%, 66.7%, 41.7%, 15.3%)
CIE-LABlab(52.67, 60.35, 1.16)
CIE-LCHlch(52.67, 60.37, 1.11°)
OKLaboklab(61.6% 0.1847 0.0037)
OKLCHoklch(61.6% 0.185 1.2)
XYZxyz(34.4046, 20.7442, 21.9269)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8487E #48D8A2
analogous
#D848C6 #D8487E #D85A48
triadic
#D8487E #7ED848 #487ED8
tetradic
#D8487E #C6D848 #48D8A2 #5A48D8
square
#D8487E #C6D848 #48D8A2 #5A48D8
split-complementary
#D8487E #48D85A #48C6D8
monochromatic
#891D45 #BB285F #D8487E #E37AA2 #EEADC5

Accessibility & contrast

On white

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

On black

5.15
#D8487E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8487E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8487E#FFFFFF#000000##000000
##D8487E1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7F
Deuteranopia (green-blind)
#8C887B
Tritanopia (blue-blind)
#EA365E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d8487e;
/* rgb */ color: rgb(216, 72, 126);
/* oklch */ color: oklch(61.6% 0.185 1.2);
Tailwind
colors: {
  custom: {
    50: '#e984a3',
    500: '#d8487e',
    950: '#000000',
  },
}
SCSS
$custom: #d8487e;
$custom-light: #e984a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d8487e",
  "rgb": {
    "r": 216,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 337.5,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61603,
    "c": 0.18472,
    "h": 1.2
  },
  "luminance": 0.2074
}

Semantic roles & 50–950 ramp

primary
#D8487E
secondary
#A0DBC5
accent
#E8A940
background
#FFF8FA
surface
#FEF0F3
border
#D6CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D8487E

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

Preview Lab → · Contrast checker → · Palette generator →

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