#DF51C1#DF51C1

#DF51C1 is a light, highly saturated pink. Relative luminance 0.254; OKLCH L 66.2% C 0.214 H 337.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#DF51C1
RGBrgb(223, 81, 193)
HSLhsl(313, 69%, 60%)
HSVhsv(313, 64%, 87%)
CMYKcmyk(0%, 63.7%, 13.5%, 12.5%)
CIE-LABlab(57.49, 67.08, -30.71)
CIE-LCHlch(57.49, 73.77, 335.40°)
OKLaboklab(66.15% 0.1969 -0.0833)
OKLCHoklch(66.15% 0.214 337.1)
XYZxyz(43.0001, 25.4267, 53.0849)
Luminance0.2542 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51C1 #51DF6F
analogous
#B651DF #DF51C1 #DF517A
triadic
#DF51C1 #C1DF51 #51C1DF
tetradic
#DF51C1 #DFB651 #51DF6F #517ADF
square
#DF51C1 #DFB651 #51DF6F #517ADF
split-complementary
#DF51C1 #7ADF51 #51DFB6
monochromatic
#991C7F #CD26AA #DF51C1 #E985D3 #F2B8E6

Accessibility & contrast

On white

3.45
#DF51C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#DF51C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51C1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51C1#FFFFFF#000000##000000
##DF51C11.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC4
Deuteranopia (green-blind)
#8192BD
Tritanopia (blue-blind)
#EA5882
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #df51c1;
/* rgb */ color: rgb(223, 81, 193);
/* oklch */ color: oklch(66.2% 0.214 337.1);
Tailwind
colors: {
  custom: {
    50: '#ec8bd4',
    500: '#df51c1',
    950: '#000000',
  },
}
SCSS
$custom: #df51c1;
$custom-light: #ec8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#df51c1",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 193
  },
  "hsl": {
    "h": 312.676,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66152,
    "c": 0.21381,
    "h": 337.1
  },
  "luminance": 0.25423
}

Semantic roles & 50–950 ramp

primary
#DF51C1
secondary
#AAE1B6
accent
#EC613C
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #DF51C1

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

Preview Lab → · Contrast checker → · Palette generator →

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