#DF51B7#DF51B7

#DF51B7 is a light, highly saturated pink. Relative luminance 0.250; OKLCH L 65.7% C 0.207 H 340.6°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#DF51B7
RGBrgb(223, 81, 183)
HSLhsl(317, 69%, 60%)
HSVhsv(317, 64%, 87%)
CMYKcmyk(0%, 63.7%, 17.9%, 12.5%)
CIE-LABlab(57.07, 65.64, -25.60)
CIE-LCHlch(57.07, 70.46, 338.69°)
OKLaboklab(65.71% 0.1953 -0.0688)
OKLCHoklch(65.71% 0.207 340.6)
XYZxyz(41.9221, 24.9955, 47.4073)
Luminance0.2499 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51B7 #51DF79
analogous
#C051DF #DF51B7 #DF5170
triadic
#DF51B7 #B7DF51 #51B7DF
tetradic
#DF51B7 #DFC051 #51DF79 #5170DF
square
#DF51B7 #DFC051 #51DF79 #5170DF
split-complementary
#DF51B7 #70DF51 #51DFC0
monochromatic
#991C76 #CD269E #DF51B7 #E985CC #F2B8E2

Accessibility & contrast

On white

3.50
#DF51B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#DF51B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51B7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51B7#FFFFFF#000000##000000
##DF51B71.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7ABA
Deuteranopia (green-blind)
#8591B4
Tritanopia (blue-blind)
#EC547D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #df51b7;
/* rgb */ color: rgb(223, 81, 183);
/* oklch */ color: oklch(65.7% 0.207 340.6);
Tailwind
colors: {
  custom: {
    50: '#ed8bcc',
    500: '#df51b7',
    950: '#000000',
  },
}
SCSS
$custom: #df51b7;
$custom-light: #ed8bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#df51b7",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 183
  },
  "hsl": {
    "h": 316.901,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6571,
    "c": 0.20703,
    "h": 340.6
  },
  "luminance": 0.24992
}

Semantic roles & 50–950 ramp

primary
#DF51B7
secondary
#AAE1BA
accent
#EC6E3C
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170D13
muted
#857D82

Preview Lab

Preview with #DF51B7

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

Preview Lab → · Contrast checker → · Palette generator →

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