#D8478A#D8478A

#D8478A is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.9% C 0.190 H 355.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#D8478A
RGBrgb(216, 71, 138)
HSLhsl(332, 65%, 56%)
HSVhsv(332, 67%, 85%)
CMYKcmyk(0%, 67.1%, 36.1%, 15.3%)
CIE-LABlab(52.89, 62.00, -5.67)
CIE-LCHlch(52.89, 62.26, 354.77°)
OKLaboklab(61.89% 0.1898 -0.0141)
OKLCHoklch(61.89% 0.19 355.7)
XYZxyz(35.1617, 20.9445, 26.2308)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8478A #47D895
analogous
#D847D2 #D8478A #D84D47
triadic
#D8478A #8AD847 #478AD8
tetradic
#D8478A #D2D847 #47D895 #4D47D8
square
#D8478A #D2D847 #47D895 #4D47D8
split-complementary
#D8478A #47D84D #47D2D8
monochromatic
#881D4E #BA276B #D8478A #E379AA #EDACCA

Accessibility & contrast

On white

4.05
#D8478A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#D8478A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8478A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8478A#FFFFFF#000000##000000
##D8478A1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#616D8C
Deuteranopia (green-blind)
#898887
Tritanopia (blue-blind)
#E93A63
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d8478a;
/* rgb */ color: rgb(216, 71, 138);
/* oklch */ color: oklch(61.9% 0.190 355.7);
Tailwind
colors: {
  custom: {
    50: '#e984ac',
    500: '#d8478a',
    950: '#000000',
  },
}
SCSS
$custom: #d8478a;
$custom-light: #e984ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d8478a",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 332.276,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61885,
    "c": 0.19028,
    "h": 355.7
  },
  "luminance": 0.2094
}

Semantic roles & 50–950 ramp

primary
#D8478A
secondary
#A0DBC0
accent
#E89A40
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #D8478A

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

Preview Lab → · Contrast checker → · Palette generator →

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