#D8478B#D8478B

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

Color values

HEX#D8478B
RGBrgb(216, 71, 139)
HSLhsl(332, 65%, 56%)
HSVhsv(332, 67%, 85%)
CMYKcmyk(0%, 67.1%, 35.6%, 15.3%)
CIE-LABlab(52.92, 62.11, -6.22)
CIE-LCHlch(52.92, 62.42, 354.28°)
OKLaboklab(61.92% 0.1901 -0.0156)
OKLCHoklch(61.92% 0.191 355.3)
XYZxyz(35.2344, 20.9735, 26.6139)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8478B #47D894
analogous
#D847D4 #D8478B #D84C47
triadic
#D8478B #8BD847 #478BD8
tetradic
#D8478B #D4D847 #47D894 #4C47D8
square
#D8478B #D4D847 #47D894 #4C47D8
split-complementary
#D8478B #47D84C #47D4D8
monochromatic
#881D4F #BA276C #D8478B #E379AB #EDACCB

Accessibility & contrast

On white

4.04
#D8478B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8478B#FFFFFF#000000##000000
##D8478B1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#606D8D
Deuteranopia (green-blind)
#888888
Tritanopia (blue-blind)
#E93A63
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d8478b;
/* rgb */ color: rgb(216, 71, 139);
/* oklch */ color: oklch(61.9% 0.191 355.3);
Tailwind
colors: {
  custom: {
    50: '#e984ac',
    500: '#d8478b',
    950: '#000000',
  },
}
SCSS
$custom: #d8478b;
$custom-light: #e984ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d8478b",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 331.862,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61919,
    "c": 0.19069,
    "h": 355.3
  },
  "luminance": 0.20969
}

Semantic roles & 50–950 ramp

primary
#D8478B
secondary
#A0DBBF
accent
#E89940
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #D8478B

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

Preview Lab → · Contrast checker → · Palette generator →

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