#D8477A#D8477A

#D8477A is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.4% C 0.185 H 2.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D8477A
RGBrgb(216, 71, 122)
HSLhsl(339, 65%, 56%)
HSVhsv(339, 67%, 85%)
CMYKcmyk(0%, 67.1%, 43.5%, 15.3%)
CIE-LABlab(52.41, 60.35, 3.19)
CIE-LCHlch(52.41, 60.44, 3.03°)
OKLaboklab(61.38% 0.1846 0.0089)
OKLCHoklch(61.38% 0.185 2.8)
XYZxyz(34.0875, 20.5148, 20.5733)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8477A #47D8A5
analogous
#D847C2 #D8477A #D85D47
triadic
#D8477A #7AD847 #477AD8
tetradic
#D8477A #C2D847 #47D8A5 #5D47D8
square
#D8477A #C2D847 #47D8A5 #5D47D8
split-complementary
#D8477A #47D85D #47C2D8
monochromatic
#881D42 #BA275B #D8477A #E3799F #EDACC3

Accessibility & contrast

On white

4.12
#D8477A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D8477A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8477A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8477A#FFFFFF#000000##000000
##D8477A1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#656B7B
Deuteranopia (green-blind)
#8C8777
Tritanopia (blue-blind)
#EA335C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d8477a;
/* rgb */ color: rgb(216, 71, 122);
/* oklch */ color: oklch(61.4% 0.185 2.8);
Tailwind
colors: {
  custom: {
    50: '#e983a0',
    500: '#d8477a',
    950: '#000000',
  },
}
SCSS
$custom: #d8477a;
$custom-light: #e983a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d8477a",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 338.897,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61378,
    "c": 0.18477,
    "h": 2.8
  },
  "luminance": 0.20511
}

Semantic roles & 50–950 ramp

primary
#D8477A
secondary
#A0DBC6
accent
#E8AD40
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D8477A

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

Preview Lab → · Contrast checker → · Palette generator →

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