#DC51B5#DC51B5

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

Color values

HEX#DC51B5
RGBrgb(220, 81, 181)
HSLhsl(317, 67%, 59%)
HSVhsv(317, 63%, 86%)
CMYKcmyk(0%, 63.2%, 17.7%, 13.7%)
CIE-LABlab(56.53, 64.56, -25.33)
CIE-LCHlch(56.53, 69.35, 338.58°)
OKLaboklab(65.19% 0.1919 -0.0681)
OKLCHoklch(65.19% 0.204 340.5)
XYZxyz(40.7991, 24.4404, 46.2758)
Luminance0.2444 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51B5 #51DC78
analogous
#BE51DC #DC51B5 #DC5170
triadic
#DC51B5 #B5DC51 #51B5DC
tetradic
#DC51B5 #DCBE51 #51DC78 #5170DC
square
#DC51B5 #DCBE51 #51DC78 #5170DC
split-complementary
#DC51B5 #70DC51 #51DCBE
monochromatic
#951E73 #C8289B #DC51B5 #E684CB #F0B7E0

Accessibility & contrast

On white

3.57
#DC51B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#DC51B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51B5
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51B5#FFFFFF#000000##000000
##DC51B51.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5979B8
Deuteranopia (green-blind)
#8390B2
Tritanopia (blue-blind)
#E8547C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #dc51b5;
/* rgb */ color: rgb(220, 81, 181);
/* oklch */ color: oklch(65.2% 0.204 340.5);
Tailwind
colors: {
  custom: {
    50: '#ea8acb',
    500: '#dc51b5',
    950: '#000000',
  },
}
SCSS
$custom: #dc51b5;
$custom-light: #ea8acb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51b5",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 181
  },
  "hsl": {
    "h": 316.835,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65194,
    "c": 0.20363,
    "h": 340.5
  },
  "luminance": 0.24437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC51B5

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

Preview Lab → · Contrast checker → · Palette generator →

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