#D4478B#D4478B

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

Color values

HEX#D4478B
RGBrgb(212, 71, 139)
HSLhsl(331, 62%, 55%)
HSVhsv(331, 67%, 83%)
CMYKcmyk(0%, 66.5%, 34.4%, 16.9%)
CIE-LABlab(52.25, 60.97, -7.28)
CIE-LCHlch(52.25, 61.40, 353.19°)
OKLaboklab(61.3% 0.1864 -0.0185)
OKLCHoklch(61.3% 0.187 354.3)
XYZxyz(34.0668, 20.3715, 26.5591)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4478B #47D490
analogous
#D447D1 #D4478B #D44947
triadic
#D4478B #8BD447 #478BD4
tetradic
#D4478B #D1D447 #47D490 #4947D4
square
#D4478B #D1D447 #47D490 #4947D4
split-complementary
#D4478B #47D449 #47D1D4
monochromatic
#821E4F #B42A6C #D4478B #E079AA #EBAACA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4478B#FFFFFF#000000##000000
##D4478B1.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)
#5F6C8D
Deuteranopia (green-blind)
#868688
Tritanopia (blue-blind)
#E43C63
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d4478b;
/* rgb */ color: rgb(212, 71, 139);
/* oklch */ color: oklch(61.3% 0.187 354.3);
Tailwind
colors: {
  custom: {
    50: '#e683ac',
    500: '#d4478b',
    950: '#000000',
  },
}
SCSS
$custom: #d4478b;
$custom-light: #e683ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d4478b",
  "rgb": {
    "r": 212,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 331.064,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61301,
    "c": 0.1873,
    "h": 354.3
  },
  "luminance": 0.20368
}

Semantic roles & 50–950 ramp

primary
#D4478B
secondary
#9ED9BC
accent
#E59743
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D4478B

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

Preview Lab → · Contrast checker → · Palette generator →

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