#DC51B3#DC51B3

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

Color values

HEX#DC51B3
RGBrgb(220, 81, 179)
HSLhsl(318, 67%, 59%)
HSVhsv(318, 63%, 86%)
CMYKcmyk(0%, 63.2%, 18.6%, 13.7%)
CIE-LABlab(56.45, 64.28, -24.29)
CIE-LCHlch(56.45, 68.72, 339.30°)
OKLaboklab(65.11% 0.1915 -0.0652)
OKLCHoklch(65.11% 0.202 341.2)
XYZxyz(40.5953, 24.3589, 45.2028)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51B3 #51DC7A
analogous
#C051DC #DC51B3 #DC516E
triadic
#DC51B3 #B3DC51 #51B3DC
tetradic
#DC51B3 #DCC051 #51DC7A #516EDC
square
#DC51B3 #DCC051 #51DC7A #516EDC
split-complementary
#DC51B3 #6EDC51 #51DCC0
monochromatic
#951E72 #C82899 #DC51B3 #E684C9 #F0B7E0

Accessibility & contrast

On white

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

On black

5.87
#DC51B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51B3
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51B3#FFFFFF#000000##000000
##DC51B31.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A79B6
Deuteranopia (green-blind)
#8490B0
Tritanopia (blue-blind)
#E9537B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dc51b3;
/* rgb */ color: rgb(220, 81, 179);
/* oklch */ color: oklch(65.1% 0.202 341.2);
Tailwind
colors: {
  custom: {
    50: '#ea8aca',
    500: '#dc51b3',
    950: '#000000',
  },
}
SCSS
$custom: #dc51b3;
$custom-light: #ea8aca;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51b3",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 317.698,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65108,
    "c": 0.20231,
    "h": 341.2
  },
  "luminance": 0.24355
}

Semantic roles & 50–950 ramp

primary
#DC51B3
secondary
#A9E0B9
accent
#E9713E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DC51B3

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

Preview Lab → · Contrast checker → · Palette generator →

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