#DC478C#DC478C

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

Color values

HEX#DC478C
RGBrgb(220, 71, 140)
HSLhsl(332, 68%, 57%)
HSVhsv(332, 68%, 86%)
CMYKcmyk(0%, 67.7%, 36.4%, 13.7%)
CIE-LABlab(53.62, 63.35, -5.70)
CIE-LCHlch(53.62, 63.61, 354.86°)
OKLaboklab(62.57% 0.194 -0.0142)
OKLCHoklch(62.57% 0.194 355.8)
XYZxyz(36.5043, 21.6198, 27.0565)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC478C #47DC97
analogous
#DC47D7 #DC478C #DC4D47
triadic
#DC478C #8CDC47 #478CDC
tetradic
#DC478C #D7DC47 #47DC97 #4D47DC
square
#DC478C #D7DC47 #47DC97 #4D47DC
split-complementary
#DC478C #47DC4D #47D7DC
monochromatic
#8E1B50 #C1256D #DC478C #E67AAC #F0AECC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC478C#FFFFFF#000000##000000
##DC478C1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F8E
Deuteranopia (green-blind)
#8B8A89
Tritanopia (blue-blind)
#ED3964
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #dc478c;
/* rgb */ color: rgb(220, 71, 140);
/* oklch */ color: oklch(62.6% 0.194 355.8);
Tailwind
colors: {
  custom: {
    50: '#ec84ad',
    500: '#dc478c',
    950: '#000000',
  },
}
SCSS
$custom: #dc478c;
$custom-light: #ec84ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dc478c",
  "rgb": {
    "r": 220,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 332.215,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62572,
    "c": 0.19449,
    "h": 355.8
  },
  "luminance": 0.21616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC478C

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

Preview Lab → · Contrast checker → · Palette generator →

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