#D8478E#D8478E

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

Color values

HEX#D8478E
RGBrgb(216, 71, 142)
HSLhsl(331, 65%, 56%)
HSVhsv(331, 67%, 85%)
CMYKcmyk(0%, 67.1%, 34.3%, 15.3%)
CIE-LABlab(53.02, 62.44, -7.86)
CIE-LCHlch(53.02, 62.94, 352.83°)
OKLaboklab(62.02% 0.1909 -0.02)
OKLCHoklch(62.02% 0.192 354)
XYZxyz(35.4567, 21.0624, 27.7842)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8478E #47D891
analogous
#D847D6 #D8478E #D84947
triadic
#D8478E #8ED847 #478ED8
tetradic
#D8478E #D6D847 #47D891 #4947D8
square
#D8478E #D6D847 #47D891 #4947D8
split-complementary
#D8478E #47D849 #47D6D8
monochromatic
#881D51 #BA276F #D8478E #E379AD #EDACCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8478E#FFFFFF#000000##000000
##D8478E1.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)
#5F6E90
Deuteranopia (green-blind)
#88888B
Tritanopia (blue-blind)
#E83C65
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d8478e;
/* rgb */ color: rgb(216, 71, 142);
/* oklch */ color: oklch(62.0% 0.192 354.0);
Tailwind
colors: {
  custom: {
    50: '#e984af',
    500: '#d8478e',
    950: '#000000',
  },
}
SCSS
$custom: #d8478e;
$custom-light: #e984af;
$custom-dark: #000000;
JSON
{
  "hex": "#d8478e",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 330.621,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62022,
    "c": 0.19198,
    "h": 354
  },
  "luminance": 0.21058
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8478E

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

Preview Lab → · Contrast checker → · Palette generator →

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