#DC51C3#DC51C3

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

Color values

HEX#DC51C3
RGBrgb(220, 81, 195)
HSLhsl(311, 67%, 59%)
HSVhsv(311, 63%, 86%)
CMYKcmyk(0%, 63.2%, 11.4%, 13.7%)
CIE-LABlab(57.12, 66.60, -32.46)
CIE-LCHlch(57.12, 74.09, 334.01°)
OKLaboklab(65.82% 0.1942 -0.0883)
OKLCHoklch(65.82% 0.213 335.5)
XYZxyz(42.3084, 25.0441, 54.2249)
Luminance0.2504 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51C3 #51DC6A
analogous
#AF51DC #DC51C3 #DC517E
triadic
#DC51C3 #C3DC51 #51C3DC
tetradic
#DC51C3 #DCAF51 #51DC6A #517EDC
square
#DC51C3 #DCAF51 #51DC6A #517EDC
split-complementary
#DC51C3 #7EDC51 #51DCAF
monochromatic
#951E7F #C828AB #DC51C3 #E684D5 #F0B7E6

Accessibility & contrast

On white

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

On black

6.01
#DC51C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51C3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51C3#FFFFFF#000000##000000
##DC51C31.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#527CC6
Deuteranopia (green-blind)
#7E91BF
Tritanopia (blue-blind)
#E65983
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #dc51c3;
/* rgb */ color: rgb(220, 81, 195);
/* oklch */ color: oklch(65.8% 0.213 335.5);
Tailwind
colors: {
  custom: {
    50: '#ea8bd5',
    500: '#dc51c3',
    950: '#000000',
  },
}
SCSS
$custom: #dc51c3;
$custom-light: #ea8bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51c3",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 195
  },
  "hsl": {
    "h": 310.791,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65821,
    "c": 0.21333,
    "h": 335.5
  },
  "luminance": 0.25041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC51C3

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

Preview Lab → · Contrast checker → · Palette generator →

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