#D4478E#D4478E

#D4478E is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.4% C 0.189 H 353.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D4478E
RGBrgb(212, 71, 142)
HSLhsl(330, 62%, 55%)
HSVhsv(330, 67%, 83%)
CMYKcmyk(0%, 66.5%, 33%, 16.9%)
CIE-LABlab(52.35, 61.31, -8.92)
CIE-LCHlch(52.35, 61.96, 351.72°)
OKLaboklab(61.41% 0.1873 -0.0229)
OKLCHoklch(61.41% 0.189 353)
XYZxyz(34.2890, 20.4603, 27.7294)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4478E #47D48D
analogous
#D347D4 #D4478E #D44747
triadic
#D4478E #8ED447 #478ED4
tetradic
#D4478E #D4D347 #47D48D #4747D4
square
#D4478E #D4D347 #47D48D #4747D4
split-complementary
#D4478E #47D447 #47D4D3
monochromatic
#821E51 #B42A6F #D4478E #E079AC #EBAACB

Accessibility & contrast

On white

4.12
#D4478E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#D4478E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D4478E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4478E#FFFFFF#000000##000000
##D4478E1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D90
Deuteranopia (green-blind)
#85868B
Tritanopia (blue-blind)
#E43D65
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d4478e;
/* rgb */ color: rgb(212, 71, 142);
/* oklch */ color: oklch(61.4% 0.189 353.0);
Tailwind
colors: {
  custom: {
    50: '#e683af',
    500: '#d4478e',
    950: '#000000',
  },
}
SCSS
$custom: #d4478e;
$custom-light: #e683af;
$custom-dark: #000000;
JSON
{
  "hex": "#d4478e",
  "rgb": {
    "r": 212,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 329.787,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61407,
    "c": 0.18865,
    "h": 353
  },
  "luminance": 0.20457
}

Semantic roles & 50–950 ramp

primary
#D4478E
secondary
#9ED9BB
accent
#E59343
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D4478E

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

Preview Lab → · Contrast checker → · Palette generator →

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