#DC478F#DC478F

#DC478F is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.7% C 0.196 H 354.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#DC478F
RGBrgb(220, 71, 143)
HSLhsl(331, 68%, 57%)
HSVhsv(331, 68%, 86%)
CMYKcmyk(0%, 67.7%, 35%, 13.7%)
CIE-LABlab(53.72, 63.68, -7.34)
CIE-LCHlch(53.72, 64.10, 353.43°)
OKLaboklab(62.67% 0.1949 -0.0186)
OKLCHoklch(62.67% 0.196 354.6)
XYZxyz(36.7285, 21.7095, 28.2374)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC478F #47DC94
analogous
#DC47D9 #DC478F #DC4A47
triadic
#DC478F #8FDC47 #478FDC
tetradic
#DC478F #D9DC47 #47DC94 #4A47DC
square
#DC478F #D9DC47 #47DC94 #4A47DC
split-complementary
#DC478F #47DC4A #47D9DC
monochromatic
#8E1B52 #C12570 #DC478F #E67AAE #F0AECE

Accessibility & contrast

On white

3.93
#DC478F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#DC478F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC478F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC478F#FFFFFF#000000##000000
##DC478F1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#616F91
Deuteranopia (green-blind)
#8A8A8C
Tritanopia (blue-blind)
#ED3B65
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #dc478f;
/* rgb */ color: rgb(220, 71, 143);
/* oklch */ color: oklch(62.7% 0.196 354.6);
Tailwind
colors: {
  custom: {
    50: '#ec84af',
    500: '#dc478f',
    950: '#000000',
  },
}
SCSS
$custom: #dc478f;
$custom-light: #ec84af;
$custom-dark: #000000;
JSON
{
  "hex": "#dc478f",
  "rgb": {
    "r": 220,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 331.007,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62674,
    "c": 0.19574,
    "h": 354.6
  },
  "luminance": 0.21705
}

Semantic roles & 50–950 ramp

primary
#DC478F
secondary
#A1DEC0
accent
#EB973D
background
#FFF8FA
surface
#FEF0F4
border
#D6CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #DC478F

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

Preview Lab → · Contrast checker → · Palette generator →

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