#DC51A6#DC51A6

#DC51A6 is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.6% C 0.194 H 346.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#DC51A6
RGBrgb(220, 81, 166)
HSLhsl(323, 67%, 59%)
HSVhsv(323, 63%, 86%)
CMYKcmyk(0%, 63.2%, 24.5%, 13.7%)
CIE-LABlab(55.94, 62.52, -17.51)
CIE-LCHlch(55.94, 64.93, 344.36°)
OKLaboklab(64.58% 0.1887 -0.0463)
OKLCHoklch(64.58% 0.194 346.2)
XYZxyz(39.3420, 23.8575, 38.6020)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51A6 #51DC87
analogous
#CC51DC #DC51A6 #DC5161
triadic
#DC51A6 #A6DC51 #51A6DC
tetradic
#DC51A6 #DCCC51 #51DC87 #5161DC
square
#DC51A6 #DCCC51 #51DC87 #5161DC
split-complementary
#DC51A6 #61DC51 #51DCCC
monochromatic
#951E67 #C8288A #DC51A6 #E684C0 #F0B7DA

Accessibility & contrast

On white

3.64
#DC51A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#DC51A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51A6
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51A6#FFFFFF#000000##000000
##DC51A61.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6077A9
Deuteranopia (green-blind)
#888FA3
Tritanopia (blue-blind)
#EA4E74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dc51a6;
/* rgb */ color: rgb(220, 81, 166);
/* oklch */ color: oklch(64.6% 0.194 346.2);
Tailwind
colors: {
  custom: {
    50: '#eb8ac0',
    500: '#dc51a6',
    950: '#000000',
  },
}
SCSS
$custom: #dc51a6;
$custom-light: #eb8ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51a6",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 166
  },
  "hsl": {
    "h": 323.309,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64577,
    "c": 0.1943,
    "h": 346.2
  },
  "luminance": 0.23854
}

Semantic roles & 50–950 ramp

primary
#DC51A6
secondary
#A9E0BE
accent
#E9813E
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DC51A6

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

Preview Lab → · Contrast checker → · Palette generator →

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