#D4478C#D4478C

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

Color values

HEX#D4478C
RGBrgb(212, 71, 140)
HSLhsl(331, 62%, 55%)
HSVhsv(331, 67%, 83%)
CMYKcmyk(0%, 66.5%, 34%, 16.9%)
CIE-LABlab(52.29, 61.08, -7.83)
CIE-LCHlch(52.29, 61.58, 352.70°)
OKLaboklab(61.34% 0.1867 -0.0199)
OKLCHoklch(61.34% 0.188 353.9)
XYZxyz(34.1402, 20.4008, 26.9457)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4478C #47D48F
analogous
#D447D3 #D4478C #D44847
triadic
#D4478C #8CD447 #478CD4
tetradic
#D4478C #D3D447 #47D48F #4847D4
square
#D4478C #D3D447 #47D48F #4847D4
split-complementary
#D4478C #47D448 #47D3D4
monochromatic
#821E4F #B42A6D #D4478C #E079AB #EBAACA

Accessibility & contrast

On white

4.13
#D4478C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D4478C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D4478C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4478C#FFFFFF#000000##000000
##D4478C1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8E
Deuteranopia (green-blind)
#858689
Tritanopia (blue-blind)
#E43C64
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d4478c;
/* rgb */ color: rgb(212, 71, 140);
/* oklch */ color: oklch(61.3% 0.188 353.9);
Tailwind
colors: {
  custom: {
    50: '#e683ad',
    500: '#d4478c',
    950: '#000000',
  },
}
SCSS
$custom: #d4478c;
$custom-light: #e683ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d4478c",
  "rgb": {
    "r": 212,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 330.638,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61336,
    "c": 0.18774,
    "h": 353.9
  },
  "luminance": 0.20397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4478C

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

Preview Lab → · Contrast checker → · Palette generator →

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