#DF51C7#DF51C7

#DF51C7 is a light, highly saturated pink. Relative luminance 0.257; OKLCH L 66.4% C 0.218 H 335.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#DF51C7
RGBrgb(223, 81, 199)
HSLhsl(310, 69%, 60%)
HSVhsv(310, 64%, 87%)
CMYKcmyk(0%, 63.7%, 10.8%, 12.5%)
CIE-LABlab(57.75, 67.97, -33.73)
CIE-LCHlch(57.75, 75.88, 333.61°)
OKLaboklab(66.43% 0.1978 -0.0919)
OKLCHoklch(66.43% 0.218 335.1)
XYZxyz(43.6831, 25.6999, 56.6816)
Luminance0.2570 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51C7 #51DF69
analogous
#B051DF #DF51C7 #DF5180
triadic
#DF51C7 #C7DF51 #51C7DF
tetradic
#DF51C7 #DFB051 #51DF69 #5180DF
square
#DF51C7 #DFB051 #51DF69 #5180DF
split-complementary
#DF51C7 #80DF51 #51DFB0
monochromatic
#991C84 #CD26B1 #DF51C7 #E985D8 #F2B8E8

Accessibility & contrast

On white

3.42
#DF51C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#DF51C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51C7
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51C7#FFFFFF#000000##000000
##DF51C71.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#517DCB
Deuteranopia (green-blind)
#7F92C3
Tritanopia (blue-blind)
#E95A85
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #df51c7;
/* rgb */ color: rgb(223, 81, 199);
/* oklch */ color: oklch(66.4% 0.218 335.1);
Tailwind
colors: {
  custom: {
    50: '#ec8bd8',
    500: '#df51c7',
    950: '#000000',
  },
}
SCSS
$custom: #df51c7;
$custom-light: #ec8bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#df51c7",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 310.141,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66429,
    "c": 0.21808,
    "h": 335.1
  },
  "luminance": 0.25696
}

Semantic roles & 50–950 ramp

primary
#DF51C7
secondary
#AAE1B4
accent
#EC5A3C
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #DF51C7

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

Preview Lab → · Contrast checker → · Palette generator →

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