#DC478B#DC478B

#DC478B is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.5% C 0.194 H 356.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#DC478B
RGBrgb(220, 71, 139)
HSLhsl(333, 68%, 57%)
HSVhsv(333, 68%, 86%)
CMYKcmyk(0%, 67.7%, 36.8%, 13.7%)
CIE-LABlab(53.59, 63.25, -5.15)
CIE-LCHlch(53.59, 63.45, 355.34°)
OKLaboklab(62.54% 0.1937 -0.0128)
OKLCHoklch(62.54% 0.194 356.2)
XYZxyz(36.4309, 21.5905, 26.6700)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC478B #47DC98
analogous
#DC47D6 #DC478B #DC4D47
triadic
#DC478B #8BDC47 #478BDC
tetradic
#DC478B #D6DC47 #47DC98 #4D47DC
square
#DC478B #D6DC47 #47DC98 #4D47DC
split-complementary
#DC478B #47DC4D #47D6DC
monochromatic
#8E1B4F #C1256C #DC478B #E67AAB #F0AECC

Accessibility & contrast

On white

3.95
#DC478B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#DC478B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC478B
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC478B#FFFFFF#000000##000000
##DC478B1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#626E8D
Deuteranopia (green-blind)
#8B8A88
Tritanopia (blue-blind)
#ED3963
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #dc478b;
/* rgb */ color: rgb(220, 71, 139);
/* oklch */ color: oklch(62.5% 0.194 356.2);
Tailwind
colors: {
  custom: {
    50: '#ec84ac',
    500: '#dc478b',
    950: '#000000',
  },
}
SCSS
$custom: #dc478b;
$custom-light: #ec84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#dc478b",
  "rgb": {
    "r": 220,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 332.617,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62539,
    "c": 0.19409,
    "h": 356.2
  },
  "luminance": 0.21586
}

Semantic roles & 50–950 ramp

primary
#DC478B
secondary
#A1DEC2
accent
#EB9B3D
background
#FFF8FA
surface
#FEF0F4
border
#D6CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #DC478B

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

Preview Lab → · Contrast checker → · Palette generator →

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