#D4478F#D4478F

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

Color values

HEX#D4478F
RGBrgb(212, 71, 143)
HSLhsl(329, 62%, 55%)
HSVhsv(329, 67%, 83%)
CMYKcmyk(0%, 66.5%, 32.5%, 16.9%)
CIE-LABlab(52.39, 61.43, -9.47)
CIE-LCHlch(52.39, 62.15, 351.24°)
OKLaboklab(61.44% 0.1875 -0.0243)
OKLCHoklch(61.44% 0.189 352.6)
XYZxyz(34.3644, 20.4905, 28.1266)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4478F #47D48C
analogous
#D347D4 #D4478F #D44748
triadic
#D4478F #8FD447 #478FD4
tetradic
#D4478F #D4D347 #47D48C #4748D4
square
#D4478F #D4D347 #47D48C #4748D4
split-complementary
#D4478F #48D447 #47D4D3
monochromatic
#821E51 #B42A70 #D4478F #E079AD #EBAACB

Accessibility & contrast

On white

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

On black

5.10
#D4478F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D4478F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4478F#FFFFFF#000000##000000
##D4478F1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6D91
Deuteranopia (green-blind)
#85868C
Tritanopia (blue-blind)
#E43E65
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d4478f;
/* rgb */ color: rgb(212, 71, 143);
/* oklch */ color: oklch(61.4% 0.189 352.6);
Tailwind
colors: {
  custom: {
    50: '#e683af',
    500: '#d4478f',
    950: '#000000',
  },
}
SCSS
$custom: #d4478f;
$custom-light: #e683af;
$custom-dark: #000000;
JSON
{
  "hex": "#d4478f",
  "rgb": {
    "r": 212,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 329.362,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61443,
    "c": 0.18911,
    "h": 352.6
  },
  "luminance": 0.20487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4478F

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

Preview Lab → · Contrast checker → · Palette generator →

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