#D8478D#D8478D

#D8478D is a mid, vivid pink. Relative luminance 0.210; OKLCH L 62.0% C 0.192 H 354.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#D8478D
RGBrgb(216, 71, 141)
HSLhsl(331, 65%, 56%)
HSVhsv(331, 67%, 85%)
CMYKcmyk(0%, 67.1%, 34.7%, 15.3%)
CIE-LABlab(52.98, 62.33, -7.31)
CIE-LCHlch(52.98, 62.76, 353.31°)
OKLaboklab(61.99% 0.1906 -0.0185)
OKLCHoklch(61.99% 0.192 354.4)
XYZxyz(35.3819, 21.0325, 27.3905)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8478D #47D892
analogous
#D847D6 #D8478D #D84A47
triadic
#D8478D #8DD847 #478DD8
tetradic
#D8478D #D6D847 #47D892 #4A47D8
square
#D8478D #D6D847 #47D892 #4A47D8
split-complementary
#D8478D #47D84A #47D6D8
monochromatic
#881D50 #BA276E #D8478D #E379AC #EDACCC

Accessibility & contrast

On white

4.03
#D8478D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#D8478D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8478D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8478D#FFFFFF#000000##000000
##D8478D1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#606E8F
Deuteranopia (green-blind)
#88888A
Tritanopia (blue-blind)
#E83B64
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d8478d;
/* rgb */ color: rgb(216, 71, 141);
/* oklch */ color: oklch(62.0% 0.192 354.4);
Tailwind
colors: {
  custom: {
    50: '#e984ae',
    500: '#d8478d',
    950: '#000000',
  },
}
SCSS
$custom: #d8478d;
$custom-light: #e984ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d8478d",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 331.034,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61987,
    "c": 0.19155,
    "h": 354.4
  },
  "luminance": 0.21028
}

Semantic roles & 50–950 ramp

primary
#D8478D
secondary
#A0DBBE
accent
#E89740
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #D8478D

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

Preview Lab → · Contrast checker → · Palette generator →

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