#DC51C2#DC51C2

#DC51C2 is a light, highly saturated pink. Relative luminance 0.250; OKLCH L 65.8% C 0.213 H 335.9°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#DC51C2
RGBrgb(220, 81, 194)
HSLhsl(311, 67%, 59%)
HSVhsv(311, 63%, 86%)
CMYKcmyk(0%, 63.2%, 11.8%, 13.7%)
CIE-LABlab(57.07, 66.45, -31.96)
CIE-LCHlch(57.07, 73.74, 334.32°)
OKLaboklab(65.77% 0.1941 -0.0869)
OKLCHoklch(65.77% 0.213 335.9)
XYZxyz(42.1957, 24.9990, 53.6314)
Luminance0.2500 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51C2 #51DC6B
analogous
#B151DC #DC51C2 #DC517D
triadic
#DC51C2 #C2DC51 #51C2DC
tetradic
#DC51C2 #DCB151 #51DC6B #517DDC
square
#DC51C2 #DCB151 #51DC6B #517DDC
split-complementary
#DC51C2 #7DDC51 #51DCB1
monochromatic
#951E7E #C828AA #DC51C2 #E684D4 #F0B7E6

Accessibility & contrast

On white

3.50
#DC51C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#DC51C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51C2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51C2#FFFFFF#000000##000000
##DC51C21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#527CC5
Deuteranopia (green-blind)
#7F91BE
Tritanopia (blue-blind)
#E75982
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #dc51c2;
/* rgb */ color: rgb(220, 81, 194);
/* oklch */ color: oklch(65.8% 0.213 335.9);
Tailwind
colors: {
  custom: {
    50: '#ea8bd4',
    500: '#dc51c2',
    950: '#000000',
  },
}
SCSS
$custom: #dc51c2;
$custom-light: #ea8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51c2",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 311.223,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65774,
    "c": 0.21261,
    "h": 335.9
  },
  "luminance": 0.24996
}

Semantic roles & 50–950 ramp

primary
#DC51C2
secondary
#A9E0B3
accent
#E95E3E
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170D14
muted
#857D83

Preview Lab

Preview with #DC51C2

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

Preview Lab → · Contrast checker → · Palette generator →

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