#DC51C1#DC51C1

#DC51C1 is a light, highly saturated pink. Relative luminance 0.250; OKLCH L 65.7% C 0.212 H 336.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#DC51C1
RGBrgb(220, 81, 193)
HSLhsl(312, 67%, 59%)
HSVhsv(312, 63%, 86%)
CMYKcmyk(0%, 63.2%, 12.3%, 13.7%)
CIE-LABlab(57.03, 66.30, -31.45)
CIE-LCHlch(57.03, 73.39, 334.62°)
OKLaboklab(65.73% 0.1939 -0.0854)
OKLCHoklch(65.73% 0.212 336.2)
XYZxyz(42.0838, 24.9542, 53.0419)
Luminance0.2495 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51C1 #51DC6C
analogous
#B251DC #DC51C1 #DC517C
triadic
#DC51C1 #C1DC51 #51C1DC
tetradic
#DC51C1 #DCB251 #51DC6C #517CDC
square
#DC51C1 #DCB251 #51DC6C #517CDC
split-complementary
#DC51C1 #7CDC51 #51DCB2
monochromatic
#951E7E #C828A9 #DC51C1 #E684D3 #F0B7E5

Accessibility & contrast

On white

3.51
#DC51C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#DC51C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51C1
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51C1#FFFFFF#000000##000000
##DC51C11.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#537BC4
Deuteranopia (green-blind)
#7F91BD
Tritanopia (blue-blind)
#E75982
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #dc51c1;
/* rgb */ color: rgb(220, 81, 193);
/* oklch */ color: oklch(65.7% 0.212 336.2);
Tailwind
colors: {
  custom: {
    50: '#ea8bd4',
    500: '#dc51c1',
    950: '#000000',
  },
}
SCSS
$custom: #dc51c1;
$custom-light: #ea8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51c1",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 193
  },
  "hsl": {
    "h": 311.655,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65728,
    "c": 0.21189,
    "h": 336.2
  },
  "luminance": 0.24951
}

Semantic roles & 50–950 ramp

primary
#DC51C1
secondary
#A9E0B4
accent
#E9603E
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170D14
muted
#857D83

Preview Lab

Preview with #DC51C1

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

Preview Lab → · Contrast checker → · Palette generator →

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