#DF51B8#DF51B8

#DF51B8 is a light, highly saturated pink. Relative luminance 0.250; OKLCH L 65.8% C 0.208 H 340.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#DF51B8
RGBrgb(223, 81, 184)
HSLhsl(316, 69%, 60%)
HSVhsv(316, 64%, 87%)
CMYKcmyk(0%, 63.7%, 17.5%, 12.5%)
CIE-LABlab(57.11, 65.78, -26.12)
CIE-LCHlch(57.11, 70.78, 338.35°)
OKLaboklab(65.75% 0.1954 -0.0703)
OKLCHoklch(65.75% 0.208 340.2)
XYZxyz(42.0266, 25.0373, 47.9574)
Luminance0.2503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51B8 #51DF78
analogous
#BF51DF #DF51B8 #DF5171
triadic
#DF51B8 #B8DF51 #51B8DF
tetradic
#DF51B8 #DFBF51 #51DF78 #5171DF
square
#DF51B8 #DFBF51 #51DF78 #5171DF
split-complementary
#DF51B8 #71DF51 #51DFBF
monochromatic
#991C77 #CD269F #DF51B8 #E985CD #F2B8E2

Accessibility & contrast

On white

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

On black

6.01
#DF51B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51B8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51B8#FFFFFF#000000##000000
##DF51B81.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#597BBB
Deuteranopia (green-blind)
#8491B4
Tritanopia (blue-blind)
#EB547D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #df51b8;
/* rgb */ color: rgb(223, 81, 184);
/* oklch */ color: oklch(65.8% 0.208 340.2);
Tailwind
colors: {
  custom: {
    50: '#ed8bcd',
    500: '#df51b8',
    950: '#000000',
  },
}
SCSS
$custom: #df51b8;
$custom-light: #ed8bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#df51b8",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 184
  },
  "hsl": {
    "h": 316.479,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65753,
    "c": 0.20768,
    "h": 340.2
  },
  "luminance": 0.25034
}

Semantic roles & 50–950 ramp

primary
#DF51B8
secondary
#AAE1B9
accent
#EC6C3C
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170D13
muted
#857D82

Preview Lab

Preview with #DF51B8

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

Preview Lab → · Contrast checker → · Palette generator →

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