#DC51AA#DC51AA

#DC51AA is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.7% C 0.197 H 344.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#DC51AA
RGBrgb(220, 81, 170)
HSLhsl(322, 67%, 59%)
HSVhsv(322, 63%, 86%)
CMYKcmyk(0%, 63.2%, 22.7%, 13.7%)
CIE-LABlab(56.09, 63.05, -19.61)
CIE-LCHlch(56.09, 66.03, 342.72°)
OKLaboklab(64.74% 0.1896 -0.0521)
OKLCHoklch(64.74% 0.197 344.6)
XYZxyz(39.7147, 24.0066, 40.5646)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51AA #51DC83
analogous
#C951DC #DC51AA #DC5165
triadic
#DC51AA #AADC51 #51AADC
tetradic
#DC51AA #DCC951 #51DC83 #5165DC
square
#DC51AA #DCC951 #51DC83 #5165DC
split-complementary
#DC51AA #65DC51 #51DCC9
monochromatic
#951E6A #C8288E #DC51AA #E684C3 #F0B7DC

Accessibility & contrast

On white

3.62
#DC51AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#DC51AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51AA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51AA#FFFFFF#000000##000000
##DC51AA1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F78AD
Deuteranopia (green-blind)
#878FA7
Tritanopia (blue-blind)
#EA5076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dc51aa;
/* rgb */ color: rgb(220, 81, 170);
/* oklch */ color: oklch(64.7% 0.197 344.6);
Tailwind
colors: {
  custom: {
    50: '#ea8ac3',
    500: '#dc51aa',
    950: '#000000',
  },
}
SCSS
$custom: #dc51aa;
$custom-light: #ea8ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51aa",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 321.583,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64736,
    "c": 0.19667,
    "h": 344.6
  },
  "luminance": 0.24003
}

Semantic roles & 50–950 ramp

primary
#DC51AA
secondary
#A9E0BD
accent
#E97C3E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C12
muted
#857D81

Preview Lab

Preview with #DC51AA

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

Preview Lab → · Contrast checker → · Palette generator →

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