#DC51AC#DC51AC

#DC51AC is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.8% C 0.198 H 343.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#DC51AC
RGBrgb(220, 81, 172)
HSLhsl(321, 67%, 59%)
HSVhsv(321, 63%, 86%)
CMYKcmyk(0%, 63.2%, 21.8%, 13.7%)
CIE-LABlab(56.17, 63.32, -20.66)
CIE-LCHlch(56.17, 66.60, 341.93°)
OKLaboklab(64.82% 0.1901 -0.055)
OKLCHoklch(64.82% 0.198 343.9)
XYZxyz(39.9053, 24.0829, 41.5686)
Luminance0.2408 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51AC #51DC81
analogous
#C651DC #DC51AC #DC5167
triadic
#DC51AC #ACDC51 #51ACDC
tetradic
#DC51AC #DCC651 #51DC81 #5167DC
square
#DC51AC #DCC651 #51DC81 #5167DC
split-complementary
#DC51AC #67DC51 #51DCC6
monochromatic
#951E6C #C82891 #DC51AC #E684C4 #F0B7DD

Accessibility & contrast

On white

3.61
#DC51AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#DC51AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51AC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51AC#FFFFFF#000000##000000
##DC51AC1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E78AF
Deuteranopia (green-blind)
#868FA9
Tritanopia (blue-blind)
#E95177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dc51ac;
/* rgb */ color: rgb(220, 81, 172);
/* oklch */ color: oklch(64.8% 0.198 343.9);
Tailwind
colors: {
  custom: {
    50: '#ea8ac5',
    500: '#dc51ac',
    950: '#000000',
  },
}
SCSS
$custom: #dc51ac;
$custom-light: #ea8ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51ac",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 320.719,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64817,
    "c": 0.19788,
    "h": 343.9
  },
  "luminance": 0.24079
}

Semantic roles & 50–950 ramp

primary
#DC51AC
secondary
#A9E0BC
accent
#E9793E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C12
muted
#857D81

Preview Lab

Preview with #DC51AC

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

Preview Lab → · Contrast checker → · Palette generator →

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