#DC51B4#DC51B4

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

Color values

HEX#DC51B4
RGBrgb(220, 81, 180)
HSLhsl(317, 67%, 59%)
HSVhsv(317, 63%, 86%)
CMYKcmyk(0%, 63.2%, 18.2%, 13.7%)
CIE-LABlab(56.49, 64.42, -24.81)
CIE-LCHlch(56.49, 69.03, 338.94°)
OKLaboklab(65.15% 0.1917 -0.0666)
OKLCHoklch(65.15% 0.203 340.8)
XYZxyz(40.6968, 24.3995, 45.7374)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51B4 #51DC79
analogous
#BF51DC #DC51B4 #DC516F
triadic
#DC51B4 #B4DC51 #51B4DC
tetradic
#DC51B4 #DCBF51 #51DC79 #516FDC
square
#DC51B4 #DCBF51 #51DC79 #516FDC
split-complementary
#DC51B4 #6FDC51 #51DCBF
monochromatic
#951E73 #C8289A #DC51B4 #E684CA #F0B7E0

Accessibility & contrast

On white

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

On black

5.88
#DC51B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51B4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51B4#FFFFFF#000000##000000
##DC51B41.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A79B7
Deuteranopia (green-blind)
#8490B1
Tritanopia (blue-blind)
#E8547B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dc51b4;
/* rgb */ color: rgb(220, 81, 180);
/* oklch */ color: oklch(65.2% 0.203 340.8);
Tailwind
colors: {
  custom: {
    50: '#ea8aca',
    500: '#dc51b4',
    950: '#000000',
  },
}
SCSS
$custom: #dc51b4;
$custom-light: #ea8aca;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51b4",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 180
  },
  "hsl": {
    "h": 317.266,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65151,
    "c": 0.20297,
    "h": 340.8
  },
  "luminance": 0.24396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC51B4

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

Preview Lab → · Contrast checker → · Palette generator →

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