#D8477E#D8477E

#D8477E is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.5% C 0.186 H 1.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D8477E
RGBrgb(216, 71, 126)
HSLhsl(337, 65%, 56%)
HSVhsv(337, 67%, 85%)
CMYKcmyk(0%, 67.1%, 41.7%, 15.3%)
CIE-LABlab(52.53, 60.74, 0.96)
CIE-LCHlch(52.53, 60.75, 0.90°)
OKLaboklab(61.5% 0.1859 0.0032)
OKLCHoklch(61.5% 0.186 1)
XYZxyz(34.3405, 20.6159, 21.9055)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8477E #47D8A1
analogous
#D847C7 #D8477E #D85947
triadic
#D8477E #7ED847 #477ED8
tetradic
#D8477E #C7D847 #47D8A1 #5947D8
square
#D8477E #C7D847 #47D8A1 #5947D8
split-complementary
#D8477E #47D859 #47C7D8
monochromatic
#881D45 #BA275F #D8477E #E379A1 #EDACC5

Accessibility & contrast

On white

4.10
#D8477E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D8477E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8477E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8477E#FFFFFF#000000##000000
##D8477E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#646C7F
Deuteranopia (green-blind)
#8B887B
Tritanopia (blue-blind)
#EA355D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d8477e;
/* rgb */ color: rgb(216, 71, 126);
/* oklch */ color: oklch(61.5% 0.186 1.0);
Tailwind
colors: {
  custom: {
    50: '#e983a3',
    500: '#d8477e',
    950: '#000000',
  },
}
SCSS
$custom: #d8477e;
$custom-light: #e983a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d8477e",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 337.241,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61498,
    "c": 0.18595,
    "h": 1
  },
  "luminance": 0.20612
}

Semantic roles & 50–950 ramp

primary
#D8477E
secondary
#A0DBC5
accent
#E8A840
background
#FFF8FA
surface
#FEF0F3
border
#D6CBCD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D8477E

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

Preview Lab → · Contrast checker → · Palette generator →

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