#DC51A8#DC51A8

#DC51A8 is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.7% C 0.195 H 345.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#DC51A8
RGBrgb(220, 81, 168)
HSLhsl(322, 67%, 59%)
HSVhsv(322, 63%, 86%)
CMYKcmyk(0%, 63.2%, 23.6%, 13.7%)
CIE-LABlab(56.02, 62.78, -18.56)
CIE-LCHlch(56.02, 65.47, 343.53°)
OKLaboklab(64.66% 0.1892 -0.0492)
OKLCHoklch(64.66% 0.195 345.4)
XYZxyz(39.5269, 23.9315, 39.5758)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51A8 #51DC85
analogous
#CB51DC #DC51A8 #DC5163
triadic
#DC51A8 #A8DC51 #51A8DC
tetradic
#DC51A8 #DCCB51 #51DC85 #5163DC
square
#DC51A8 #DCCB51 #51DC85 #5163DC
split-complementary
#DC51A8 #63DC51 #51DCCB
monochromatic
#951E68 #C8288C #DC51A8 #E684C1 #F0B7DB

Accessibility & contrast

On white

3.63
#DC51A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#DC51A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51A8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51A8#FFFFFF#000000##000000
##DC51A81.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F77AB
Deuteranopia (green-blind)
#888FA5
Tritanopia (blue-blind)
#EA4F75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dc51a8;
/* rgb */ color: rgb(220, 81, 168);
/* oklch */ color: oklch(64.7% 0.195 345.4);
Tailwind
colors: {
  custom: {
    50: '#eb8ac2',
    500: '#dc51a8',
    950: '#000000',
  },
}
SCSS
$custom: #dc51a8;
$custom-light: #eb8ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51a8",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 168
  },
  "hsl": {
    "h": 322.446,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64656,
    "c": 0.19547,
    "h": 345.4
  },
  "luminance": 0.23928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC51A8

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

Preview Lab → · Contrast checker → · Palette generator →

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