#DF51C5#DF51C5

#DF51C5 is a light, highly saturated pink. Relative luminance 0.256; OKLCH L 66.3% C 0.217 H 335.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#DF51C5
RGBrgb(223, 81, 197)
HSLhsl(311, 69%, 60%)
HSVhsv(311, 64%, 87%)
CMYKcmyk(0%, 63.7%, 11.7%, 12.5%)
CIE-LABlab(57.66, 67.67, -32.73)
CIE-LCHlch(57.66, 75.16, 334.19°)
OKLaboklab(66.34% 0.1975 -0.089)
OKLCHoklch(66.34% 0.217 335.7)
XYZxyz(43.4524, 25.6076, 55.4667)
Luminance0.2560 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51C5 #51DF6B
analogous
#B251DF #DF51C5 #DF517E
triadic
#DF51C5 #C5DF51 #51C5DF
tetradic
#DF51C5 #DFB251 #51DF6B #517EDF
square
#DF51C5 #DFB251 #51DF6B #517EDF
split-complementary
#DF51C5 #7EDF51 #51DFB2
monochromatic
#991C82 #CD26AE #DF51C5 #E985D6 #F2B8E7

Accessibility & contrast

On white

3.43
#DF51C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#DF51C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51C5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51C5#FFFFFF#000000##000000
##DF51C51.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#527DC8
Deuteranopia (green-blind)
#8092C1
Tritanopia (blue-blind)
#EA5A84
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #df51c5;
/* rgb */ color: rgb(223, 81, 197);
/* oklch */ color: oklch(66.3% 0.217 335.7);
Tailwind
colors: {
  custom: {
    50: '#ec8bd7',
    500: '#df51c5',
    950: '#000000',
  },
}
SCSS
$custom: #df51c5;
$custom-light: #ec8bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#df51c5",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 197
  },
  "hsl": {
    "h": 310.986,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66336,
    "c": 0.21664,
    "h": 335.7
  },
  "luminance": 0.25604
}

Semantic roles & 50–950 ramp

primary
#DF51C5
secondary
#AAE1B4
accent
#EC5C3C
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #DF51C5

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

Preview Lab → · Contrast checker → · Palette generator →

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