#DC478D#DC478D

#DC478D is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.6% C 0.195 H 355.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#DC478D
RGBrgb(220, 71, 141)
HSLhsl(332, 68%, 57%)
HSVhsv(332, 68%, 86%)
CMYKcmyk(0%, 67.7%, 35.9%, 13.7%)
CIE-LABlab(53.65, 63.46, -6.25)
CIE-LCHlch(53.65, 63.77, 354.38°)
OKLaboklab(62.61% 0.1943 -0.0157)
OKLCHoklch(62.61% 0.195 355.4)
XYZxyz(36.5784, 21.6495, 27.4466)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC478D #47DC96
analogous
#DC47D8 #DC478D #DC4C47
triadic
#DC478D #8DDC47 #478DDC
tetradic
#DC478D #D8DC47 #47DC96 #4C47DC
square
#DC478D #D8DC47 #47DC96 #4C47DC
split-complementary
#DC478D #47DC4C #47D8DC
monochromatic
#8E1B51 #C1256E #DC478D #E67AAD #F0AECD

Accessibility & contrast

On white

3.94
#DC478D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#DC478D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC478D
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC478D#FFFFFF#000000##000000
##DC478D1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#616F8F
Deuteranopia (green-blind)
#8B8A8A
Tritanopia (blue-blind)
#ED3A64
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #dc478d;
/* rgb */ color: rgb(220, 71, 141);
/* oklch */ color: oklch(62.6% 0.195 355.4);
Tailwind
colors: {
  custom: {
    50: '#ec84ae',
    500: '#dc478d',
    950: '#000000',
  },
}
SCSS
$custom: #dc478d;
$custom-light: #ec84ae;
$custom-dark: #000000;
JSON
{
  "hex": "#dc478d",
  "rgb": {
    "r": 220,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 331.812,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62606,
    "c": 0.1949,
    "h": 355.4
  },
  "luminance": 0.21645
}

Semantic roles & 50–950 ramp

primary
#DC478D
secondary
#A1DEC1
accent
#EB993D
background
#FFF8FA
surface
#FEF0F4
border
#D6CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #DC478D

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

Preview Lab → · Contrast checker → · Palette generator →

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