#DF51B6#DF51B6

#DF51B6 is a light, highly saturated pink. Relative luminance 0.249; OKLCH L 65.7% C 0.206 H 340.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#DF51B6
RGBrgb(223, 81, 182)
HSLhsl(317, 69%, 60%)
HSVhsv(317, 64%, 87%)
CMYKcmyk(0%, 63.7%, 18.4%, 12.5%)
CIE-LABlab(57.03, 65.50, -25.09)
CIE-LCHlch(57.03, 70.14, 339.04°)
OKLaboklab(65.67% 0.1951 -0.0674)
OKLCHoklch(65.67% 0.206 340.9)
XYZxyz(41.8184, 24.9541, 46.8611)
Luminance0.2495 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51B6 #51DF7A
analogous
#C151DF #DF51B6 #DF516F
triadic
#DF51B6 #B6DF51 #51B6DF
tetradic
#DF51B6 #DFC151 #51DF7A #516FDF
square
#DF51B6 #DFC151 #51DF7A #516FDF
split-complementary
#DF51B6 #6FDF51 #51DFC1
monochromatic
#991C75 #CD269D #DF51B6 #E985CC #F2B8E1

Accessibility & contrast

On white

3.51
#DF51B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#DF51B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51B6
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51B6#FFFFFF#000000##000000
##DF51B61.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7AB9
Deuteranopia (green-blind)
#8591B3
Tritanopia (blue-blind)
#EC547C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #df51b6;
/* rgb */ color: rgb(223, 81, 182);
/* oklch */ color: oklch(65.7% 0.206 340.9);
Tailwind
colors: {
  custom: {
    50: '#ed8bcc',
    500: '#df51b6',
    950: '#000000',
  },
}
SCSS
$custom: #df51b6;
$custom-light: #ed8bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#df51b6",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 182
  },
  "hsl": {
    "h": 317.324,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65667,
    "c": 0.20637,
    "h": 340.9
  },
  "luminance": 0.2495
}

Semantic roles & 50–950 ramp

primary
#DF51B6
secondary
#AAE1BA
accent
#EC6F3C
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170D13
muted
#857D82

Preview Lab

Preview with #DF51B6

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

Preview Lab → · Contrast checker → · Palette generator →

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