#DF51A6#DF51A6

#DF51A6 is a light, vivid pink. Relative luminance 0.243; OKLCH L 65.0% C 0.197 H 347.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#DF51A6
RGBrgb(223, 81, 166)
HSLhsl(324, 69%, 60%)
HSVhsv(324, 64%, 87%)
CMYKcmyk(0%, 63.7%, 25.6%, 12.5%)
CIE-LABlab(56.42, 63.36, -16.75)
CIE-LCHlch(56.42, 65.53, 345.19°)
OKLaboklab(65.02% 0.1916 -0.0442)
OKLCHoklch(65.02% 0.197 347)
XYZxyz(40.2584, 24.3300, 38.6450)
Luminance0.2433 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51A6 #51DF8A
analogous
#D151DF #DF51A6 #DF515F
triadic
#DF51A6 #A6DF51 #51A6DF
tetradic
#DF51A6 #DFD151 #51DF8A #515FDF
square
#DF51A6 #DFD151 #51DF8A #515FDF
split-complementary
#DF51A6 #5FDF51 #51DFD1
monochromatic
#991C67 #CD268A #DF51A6 #E985C0 #F2B8DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF51A6#FFFFFF#000000##000000
##DF51A61.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)
#6278A9
Deuteranopia (green-blind)
#8A90A3
Tritanopia (blue-blind)
#EE4D75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #df51a6;
/* rgb */ color: rgb(223, 81, 166);
/* oklch */ color: oklch(65.0% 0.197 347.0);
Tailwind
colors: {
  custom: {
    50: '#ed8ac0',
    500: '#df51a6',
    950: '#000000',
  },
}
SCSS
$custom: #df51a6;
$custom-light: #ed8ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#df51a6",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 166
  },
  "hsl": {
    "h": 324.085,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65015,
    "c": 0.19663,
    "h": 347
  },
  "luminance": 0.24326
}

Semantic roles & 50–950 ramp

primary
#DF51A6
secondary
#AAE1C0
accent
#EC833C
background
#FFF8FB
surface
#FEF0F7
border
#D6CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DF51A6

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

Preview Lab → · Contrast checker → · Palette generator →

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