#DC51B2#DC51B2

#DC51B2 is a light, highly saturated pink. Relative luminance 0.243; OKLCH L 65.1% C 0.202 H 341.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#DC51B2
RGBrgb(220, 81, 178)
HSLhsl(318, 67%, 59%)
HSVhsv(318, 63%, 86%)
CMYKcmyk(0%, 63.2%, 19.1%, 13.7%)
CIE-LABlab(56.41, 64.14, -23.78)
CIE-LCHlch(56.41, 68.41, 339.66°)
OKLaboklab(65.07% 0.1913 -0.0637)
OKLCHoklch(65.07% 0.202 341.6)
XYZxyz(40.4946, 24.3186, 44.6721)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51B2 #51DC7B
analogous
#C051DC #DC51B2 #DC516D
triadic
#DC51B2 #B2DC51 #51B2DC
tetradic
#DC51B2 #DCC051 #51DC7B #516DDC
square
#DC51B2 #DCC051 #51DC7B #516DDC
split-complementary
#DC51B2 #6DDC51 #51DCC0
monochromatic
#951E71 #C82897 #DC51B2 #E684C9 #F0B7DF

Accessibility & contrast

On white

3.58
#DC51B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#DC51B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51B2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51B2#FFFFFF#000000##000000
##DC51B21.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B79B5
Deuteranopia (green-blind)
#8490AF
Tritanopia (blue-blind)
#E9537A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dc51b2;
/* rgb */ color: rgb(220, 81, 178);
/* oklch */ color: oklch(65.1% 0.202 341.6);
Tailwind
colors: {
  custom: {
    50: '#ea8ac9',
    500: '#dc51b2',
    950: '#000000',
  },
}
SCSS
$custom: #dc51b2;
$custom-light: #ea8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51b2",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 318.129,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65066,
    "c": 0.20167,
    "h": 341.6
  },
  "luminance": 0.24315
}

Semantic roles & 50–950 ramp

primary
#DC51B2
secondary
#A9E0BA
accent
#E9723E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DC51B2

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

Preview Lab → · Contrast checker → · Palette generator →

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