#DC51B7#DC51B7

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

Color values

HEX#DC51B7
RGBrgb(220, 81, 183)
HSLhsl(316, 67%, 59%)
HSVhsv(316, 63%, 86%)
CMYKcmyk(0%, 63.2%, 16.8%, 13.7%)
CIE-LABlab(56.61, 64.84, -26.35)
CIE-LCHlch(56.61, 70.00, 337.88°)
OKLaboklab(65.28% 0.1923 -0.071)
OKLCHoklch(65.28% 0.205 339.7)
XYZxyz(41.0058, 24.5230, 47.3644)
Luminance0.2452 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51B7 #51DC76
analogous
#BC51DC #DC51B7 #DC5172
triadic
#DC51B7 #B7DC51 #51B7DC
tetradic
#DC51B7 #DCBC51 #51DC76 #5172DC
square
#DC51B7 #DCBC51 #51DC76 #5172DC
split-complementary
#DC51B7 #72DC51 #51DCBC
monochromatic
#951E75 #C8289D #DC51B7 #E684CC #F0B7E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC51B7#FFFFFF#000000##000000
##DC51B71.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)
#587ABA
Deuteranopia (green-blind)
#8390B4
Tritanopia (blue-blind)
#E8557D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #dc51b7;
/* rgb */ color: rgb(220, 81, 183);
/* oklch */ color: oklch(65.3% 0.205 339.7);
Tailwind
colors: {
  custom: {
    50: '#ea8acd',
    500: '#dc51b7',
    950: '#000000',
  },
}
SCSS
$custom: #dc51b7;
$custom-light: #ea8acd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51b7",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 183
  },
  "hsl": {
    "h": 315.971,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6528,
    "c": 0.20496,
    "h": 339.7
  },
  "luminance": 0.24519
}

Semantic roles & 50–950 ramp

primary
#DC51B7
secondary
#A9E0B8
accent
#E96C3E
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C13
muted
#857D82

Preview Lab

Preview with #DC51B7

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

Preview Lab → · Contrast checker → · Palette generator →

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