#DC51AB#DC51AB

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

Color values

HEX#DC51AB
RGBrgb(220, 81, 171)
HSLhsl(321, 67%, 59%)
HSVhsv(321, 63%, 86%)
CMYKcmyk(0%, 63.2%, 22.3%, 13.7%)
CIE-LABlab(56.13, 63.18, -20.13)
CIE-LCHlch(56.13, 66.31, 342.33°)
OKLaboklab(64.78% 0.1899 -0.0536)
OKLCHoklch(64.78% 0.197 344.2)
XYZxyz(39.8096, 24.0446, 41.0647)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51AB #51DC82
analogous
#C851DC #DC51AB #DC5166
triadic
#DC51AB #ABDC51 #51ABDC
tetradic
#DC51AB #DCC851 #51DC82 #5166DC
square
#DC51AB #DCC851 #51DC82 #5166DC
split-complementary
#DC51AB #66DC51 #51DCC8
monochromatic
#951E6B #C8288F #DC51AB #E684C4 #F0B7DC

Accessibility & contrast

On white

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

On black

5.81
#DC51AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51AB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51AB#FFFFFF#000000##000000
##DC51AB1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E78AE
Deuteranopia (green-blind)
#878FA8
Tritanopia (blue-blind)
#EA5077
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dc51ab;
/* rgb */ color: rgb(220, 81, 171);
/* oklch */ color: oklch(64.8% 0.197 344.2);
Tailwind
colors: {
  custom: {
    50: '#ea8ac4',
    500: '#dc51ab',
    950: '#000000',
  },
}
SCSS
$custom: #dc51ab;
$custom-light: #ea8ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51ab",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 321.151,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64776,
    "c": 0.19727,
    "h": 344.2
  },
  "luminance": 0.24041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC51AB

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

Preview Lab → · Contrast checker → · Palette generator →

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