#DC51A7#DC51A7

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

Color values

HEX#DC51A7
RGBrgb(220, 81, 167)
HSLhsl(323, 67%, 59%)
HSVhsv(323, 63%, 86%)
CMYKcmyk(0%, 63.2%, 24.1%, 13.7%)
CIE-LABlab(55.98, 62.65, -18.03)
CIE-LCHlch(55.98, 65.20, 343.94°)
OKLaboklab(64.62% 0.189 -0.0477)
OKLCHoklch(64.62% 0.195 345.8)
XYZxyz(39.4341, 23.8944, 39.0870)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51A7 #51DC86
analogous
#CC51DC #DC51A7 #DC5162
triadic
#DC51A7 #A7DC51 #51A7DC
tetradic
#DC51A7 #DCCC51 #51DC86 #5162DC
square
#DC51A7 #DCCC51 #51DC86 #5162DC
split-complementary
#DC51A7 #62DC51 #51DCCC
monochromatic
#951E67 #C8288B #DC51A7 #E684C1 #F0B7DB

Accessibility & contrast

On white

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

On black

5.78
#DC51A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51A7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51A7#FFFFFF#000000##000000
##DC51A71.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6077AA
Deuteranopia (green-blind)
#888FA4
Tritanopia (blue-blind)
#EA4F75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dc51a7;
/* rgb */ color: rgb(220, 81, 167);
/* oklch */ color: oklch(64.6% 0.195 345.8);
Tailwind
colors: {
  custom: {
    50: '#eb8ac1',
    500: '#dc51a7',
    950: '#000000',
  },
}
SCSS
$custom: #dc51a7;
$custom-light: #eb8ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51a7",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 322.878,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64616,
    "c": 0.19489,
    "h": 345.8
  },
  "luminance": 0.23891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC51A7

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

Preview Lab → · Contrast checker → · Palette generator →

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