#DC51B1#DC51B1

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

Color values

HEX#DC51B1
RGBrgb(220, 81, 177)
HSLhsl(319, 67%, 59%)
HSVhsv(319, 63%, 86%)
CMYKcmyk(0%, 63.2%, 19.5%, 13.7%)
CIE-LABlab(56.37, 64.00, -23.26)
CIE-LCHlch(56.37, 68.10, 340.03°)
OKLaboklab(65.02% 0.1911 -0.0623)
OKLCHoklch(65.02% 0.201 341.9)
XYZxyz(40.3945, 24.2786, 44.1453)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51B1 #51DC7C
analogous
#C251DC #DC51B1 #DC516C
triadic
#DC51B1 #B1DC51 #51B1DC
tetradic
#DC51B1 #DCC251 #51DC7C #516CDC
square
#DC51B1 #DCC251 #51DC7C #516CDC
split-complementary
#DC51B1 #6CDC51 #51DCC2
monochromatic
#951E70 #C82896 #DC51B1 #E684C8 #F0B7DF

Accessibility & contrast

On white

3.59
#DC51B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC51B1#FFFFFF#000000##000000
##DC51B11.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B79B4
Deuteranopia (green-blind)
#858FAE
Tritanopia (blue-blind)
#E9527A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dc51b1;
/* rgb */ color: rgb(220, 81, 177);
/* oklch */ color: oklch(65.0% 0.201 341.9);
Tailwind
colors: {
  custom: {
    50: '#ea8ac8',
    500: '#dc51b1',
    950: '#000000',
  },
}
SCSS
$custom: #dc51b1;
$custom-light: #ea8ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51b1",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 177
  },
  "hsl": {
    "h": 318.561,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65024,
    "c": 0.20102,
    "h": 341.9
  },
  "luminance": 0.24275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC51B1

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

Preview Lab → · Contrast checker → · Palette generator →

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