#DF51BF#DF51BF

#DF51BF is a light, highly saturated pink. Relative luminance 0.253; OKLCH L 66.1% C 0.212 H 337.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#DF51BF
RGBrgb(223, 81, 191)
HSLhsl(314, 69%, 60%)
HSVhsv(314, 64%, 87%)
CMYKcmyk(0%, 63.7%, 14.3%, 12.5%)
CIE-LABlab(57.40, 66.78, -29.69)
CIE-LCHlch(57.40, 73.09, 336.03°)
OKLaboklab(66.06% 0.1966 -0.0804)
OKLCHoklch(66.06% 0.212 337.8)
XYZxyz(42.7785, 25.3381, 51.9178)
Luminance0.2533 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51BF #51DF71
analogous
#B851DF #DF51BF #DF5178
triadic
#DF51BF #BFDF51 #51BFDF
tetradic
#DF51BF #DFB851 #51DF71 #5178DF
square
#DF51BF #DFB851 #51DF71 #5178DF
split-complementary
#DF51BF #78DF51 #51DFB8
monochromatic
#991C7D #CD26A7 #DF51BF #E985D2 #F2B8E5

Accessibility & contrast

On white

3.46
#DF51BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#DF51BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51BF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51BF#FFFFFF#000000##000000
##DF51BF1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#567CC2
Deuteranopia (green-blind)
#8292BB
Tritanopia (blue-blind)
#EB5781
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #df51bf;
/* rgb */ color: rgb(223, 81, 191);
/* oklch */ color: oklch(66.1% 0.212 337.8);
Tailwind
colors: {
  custom: {
    50: '#ec8bd2',
    500: '#df51bf',
    950: '#000000',
  },
}
SCSS
$custom: #df51bf;
$custom-light: #ec8bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#df51bf",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 313.521,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66062,
    "c": 0.21242,
    "h": 337.8
  },
  "luminance": 0.25334
}

Semantic roles & 50–950 ramp

primary
#DF51BF
secondary
#AAE1B7
accent
#EC643C
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170D14
muted
#857D82

Preview Lab

Preview with #DF51BF

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

Preview Lab → · Contrast checker → · Palette generator →

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