#D4478A#D4478A

#D4478A is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.3% C 0.187 H 354.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#D4478A
RGBrgb(212, 71, 138)
HSLhsl(331, 62%, 55%)
HSVhsv(331, 67%, 83%)
CMYKcmyk(0%, 66.5%, 34.9%, 16.9%)
CIE-LABlab(52.22, 60.85, -6.73)
CIE-LCHlch(52.22, 61.23, 353.68°)
OKLaboklab(61.27% 0.1861 -0.017)
OKLCHoklch(61.27% 0.187 354.8)
XYZxyz(33.9940, 20.3424, 26.1761)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4478A #47D491
analogous
#D447D1 #D4478A #D44A47
triadic
#D4478A #8AD447 #478AD4
tetradic
#D4478A #D1D447 #47D491 #4A47D4
square
#D4478A #D1D447 #47D491 #4A47D4
split-complementary
#D4478A #47D44A #47D1D4
monochromatic
#821E4E #B42A6B #D4478A #E079AA #EBAAC9

Accessibility & contrast

On white

4.14
#D4478A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#D4478A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D4478A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4478A#FFFFFF#000000##000000
##D4478A1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8C
Deuteranopia (green-blind)
#868687
Tritanopia (blue-blind)
#E43C63
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d4478a;
/* rgb */ color: rgb(212, 71, 138);
/* oklch */ color: oklch(61.3% 0.187 354.8);
Tailwind
colors: {
  custom: {
    50: '#e683ac',
    500: '#d4478a',
    950: '#000000',
  },
}
SCSS
$custom: #d4478a;
$custom-light: #e683ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d4478a",
  "rgb": {
    "r": 212,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 331.489,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61267,
    "c": 0.18686,
    "h": 354.8
  },
  "luminance": 0.20339
}

Semantic roles & 50–950 ramp

primary
#D4478A
secondary
#9ED9BD
accent
#E59843
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D4478A

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

Preview Lab → · Contrast checker → · Palette generator →

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