#DC478E#DC478E

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

Color values

HEX#DC478E
RGBrgb(220, 71, 142)
HSLhsl(331, 68%, 57%)
HSVhsv(331, 68%, 86%)
CMYKcmyk(0%, 67.7%, 35.5%, 13.7%)
CIE-LABlab(53.69, 63.57, -6.79)
CIE-LCHlch(53.69, 63.93, 353.90°)
OKLaboklab(62.64% 0.1946 -0.0171)
OKLCHoklch(62.64% 0.195 355)
XYZxyz(36.6531, 21.6794, 27.8403)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC478E #47DC95
analogous
#DC47D9 #DC478E #DC4A47
triadic
#DC478E #8EDC47 #478EDC
tetradic
#DC478E #D9DC47 #47DC95 #4A47DC
square
#DC478E #D9DC47 #47DC95 #4A47DC
split-complementary
#DC478E #47DC4A #47D9DC
monochromatic
#8E1B52 #C1256F #DC478E #E67AAE #F0AECD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC478E#FFFFFF#000000##000000
##DC478E1.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)
#616F90
Deuteranopia (green-blind)
#8A8A8B
Tritanopia (blue-blind)
#ED3A65
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #dc478e;
/* rgb */ color: rgb(220, 71, 142);
/* oklch */ color: oklch(62.6% 0.195 355.0);
Tailwind
colors: {
  custom: {
    50: '#ec84af',
    500: '#dc478e',
    950: '#000000',
  },
}
SCSS
$custom: #dc478e;
$custom-light: #ec84af;
$custom-dark: #000000;
JSON
{
  "hex": "#dc478e",
  "rgb": {
    "r": 220,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 331.409,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6264,
    "c": 0.19531,
    "h": 355
  },
  "luminance": 0.21675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC478E

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

Preview Lab → · Contrast checker → · Palette generator →

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