#D8477C#D8477C

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

Color values

HEX#D8477C
RGBrgb(216, 71, 124)
HSLhsl(338, 65%, 56%)
HSVhsv(338, 67%, 85%)
CMYKcmyk(0%, 67.1%, 42.6%, 15.3%)
CIE-LABlab(52.47, 60.55, 2.07)
CIE-LCHlch(52.47, 60.58, 1.96°)
OKLaboklab(61.44% 0.1852 0.0061)
OKLCHoklch(61.44% 0.185 1.9)
XYZxyz(34.2127, 20.5648, 21.2326)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8477C #47D8A3
analogous
#D847C5 #D8477C #D85B47
triadic
#D8477C #7CD847 #477CD8
tetradic
#D8477C #C5D847 #47D8A3 #5B47D8
square
#D8477C #C5D847 #47D8A3 #5B47D8
split-complementary
#D8477C #47D85B #47C5D8
monochromatic
#881D44 #BA275D #D8477C #E379A0 #EDACC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8477C#FFFFFF#000000##000000
##D8477C1.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)
#656B7D
Deuteranopia (green-blind)
#8C8879
Tritanopia (blue-blind)
#EA345C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d8477c;
/* rgb */ color: rgb(216, 71, 124);
/* oklch */ color: oklch(61.4% 0.185 1.9);
Tailwind
colors: {
  custom: {
    50: '#e983a1',
    500: '#d8477c',
    950: '#000000',
  },
}
SCSS
$custom: #d8477c;
$custom-light: #e983a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8477c",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 338.069,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61438,
    "c": 0.18534,
    "h": 1.9
  },
  "luminance": 0.20561
}

Semantic roles & 50–950 ramp

primary
#D8477C
secondary
#A0DBC5
accent
#E8AB40
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D8477C

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

Preview Lab → · Contrast checker → · Palette generator →

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