#D8477B#D8477B

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

Color values

HEX#D8477B
RGBrgb(216, 71, 123)
HSLhsl(338, 65%, 56%)
HSVhsv(338, 67%, 85%)
CMYKcmyk(0%, 67.1%, 43.1%, 15.3%)
CIE-LABlab(52.44, 60.45, 2.63)
CIE-LCHlch(52.44, 60.51, 2.49°)
OKLaboklab(61.41% 0.1849 0.0075)
OKLCHoklch(61.41% 0.185 2.3)
XYZxyz(34.1498, 20.5397, 20.9013)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8477B #47D8A4
analogous
#D847C3 #D8477B #D85C47
triadic
#D8477B #7BD847 #477BD8
tetradic
#D8477B #C3D847 #47D8A4 #5C47D8
square
#D8477B #C3D847 #47D8A4 #5C47D8
split-complementary
#D8477B #47D85C #47C3D8
monochromatic
#881D43 #BA275C #D8477B #E3799F #EDACC3

Accessibility & contrast

On white

4.11
#D8477B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#D8477B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8477B
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8477B#FFFFFF#000000##000000
##D8477B1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#656B7C
Deuteranopia (green-blind)
#8C8778
Tritanopia (blue-blind)
#EA345C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d8477b;
/* rgb */ color: rgb(216, 71, 123);
/* oklch */ color: oklch(61.4% 0.185 2.3);
Tailwind
colors: {
  custom: {
    50: '#e983a1',
    500: '#d8477b',
    950: '#000000',
  },
}
SCSS
$custom: #d8477b;
$custom-light: #e983a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8477b",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 338.483,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61408,
    "c": 0.18505,
    "h": 2.3
  },
  "luminance": 0.20535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8477B

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

Preview Lab → · Contrast checker → · Palette generator →

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