#DC51B6#DC51B6

#DC51B6 is a light, highly saturated pink. Relative luminance 0.245; OKLCH L 65.2% C 0.204 H 340.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#DC51B6
RGBrgb(220, 81, 182)
HSLhsl(316, 67%, 59%)
HSVhsv(316, 63%, 86%)
CMYKcmyk(0%, 63.2%, 17.3%, 13.7%)
CIE-LABlab(56.57, 64.70, -25.84)
CIE-LCHlch(56.57, 69.67, 338.23°)
OKLaboklab(65.24% 0.1921 -0.0695)
OKLCHoklch(65.24% 0.204 340.1)
XYZxyz(40.9020, 24.4816, 46.8181)
Luminance0.2448 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51B6 #51DC77
analogous
#BD51DC #DC51B6 #DC5171
triadic
#DC51B6 #B6DC51 #51B6DC
tetradic
#DC51B6 #DCBD51 #51DC77 #5171DC
square
#DC51B6 #DCBD51 #51DC77 #5171DC
split-complementary
#DC51B6 #71DC51 #51DCBD
monochromatic
#951E74 #C8289C #DC51B6 #E684CB #F0B7E1

Accessibility & contrast

On white

3.56
#DC51B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#DC51B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51B6
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51B6#FFFFFF#000000##000000
##DC51B61.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#597AB9
Deuteranopia (green-blind)
#8390B3
Tritanopia (blue-blind)
#E8547C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #dc51b6;
/* rgb */ color: rgb(220, 81, 182);
/* oklch */ color: oklch(65.2% 0.204 340.1);
Tailwind
colors: {
  custom: {
    50: '#ea8acc',
    500: '#dc51b6',
    950: '#000000',
  },
}
SCSS
$custom: #dc51b6;
$custom-light: #ea8acc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51b6",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 182
  },
  "hsl": {
    "h": 316.403,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65237,
    "c": 0.20429,
    "h": 340.1
  },
  "luminance": 0.24478
}

Semantic roles & 50–950 ramp

primary
#DC51B6
secondary
#A9E0B8
accent
#E96D3E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DC51B6

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

Preview Lab → · Contrast checker → · Palette generator →

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