#D8487F#D8487F

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

Color values

HEX#D8487F
RGBrgb(216, 72, 127)
HSLhsl(337, 65%, 56%)
HSVhsv(337, 67%, 85%)
CMYKcmyk(0%, 66.7%, 41.2%, 15.3%)
CIE-LABlab(52.70, 60.45, 0.61)
CIE-LCHlch(52.70, 60.46, 0.58°)
OKLaboklab(61.63% 0.185 0.0023)
OKLCHoklch(61.63% 0.185 0.7)
XYZxyz(34.4694, 20.7701, 22.2684)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8487F #48D8A1
analogous
#D848C7 #D8487F #D85948
triadic
#D8487F #7FD848 #487FD8
tetradic
#D8487F #C7D848 #48D8A1 #5948D8
square
#D8487F #C7D848 #48D8A1 #5948D8
split-complementary
#D8487F #48D859 #48C7D8
monochromatic
#891D46 #BB2860 #D8487F #E37AA2 #EEADC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8487F#FFFFFF#000000##000000
##D8487F1.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)
#656C80
Deuteranopia (green-blind)
#8B887C
Tritanopia (blue-blind)
#EA375E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d8487f;
/* rgb */ color: rgb(216, 72, 127);
/* oklch */ color: oklch(61.6% 0.185 0.7);
Tailwind
colors: {
  custom: {
    50: '#e984a4',
    500: '#d8487f',
    950: '#000000',
  },
}
SCSS
$custom: #d8487f;
$custom-light: #e984a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8487f",
  "rgb": {
    "r": 216,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 337.083,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61634,
    "c": 0.18503,
    "h": 0.7
  },
  "luminance": 0.20766
}

Semantic roles & 50–950 ramp

primary
#D8487F
secondary
#A0DBC5
accent
#E8A840
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D8487F

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

Preview Lab → · Contrast checker → · Palette generator →

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