#DF51B1#DF51B1

#DF51B1 is a light, highly saturated pink. Relative luminance 0.247; OKLCH L 65.5% C 0.203 H 342.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#DF51B1
RGBrgb(223, 81, 177)
HSLhsl(319, 69%, 60%)
HSVhsv(319, 64%, 87%)
CMYKcmyk(0%, 63.7%, 20.6%, 12.5%)
CIE-LABlab(56.83, 64.81, -22.50)
CIE-LCHlch(56.83, 68.61, 340.85°)
OKLaboklab(65.46% 0.1941 -0.0601)
OKLCHoklch(65.46% 0.203 342.8)
XYZxyz(41.3109, 24.7510, 44.1882)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51B1 #51DF7F
analogous
#C651DF #DF51B1 #DF516A
triadic
#DF51B1 #B1DF51 #51B1DF
tetradic
#DF51B1 #DFC651 #51DF7F #516ADF
square
#DF51B1 #DFC651 #51DF7F #516ADF
split-complementary
#DF51B1 #6ADF51 #51DFC6
monochromatic
#991C71 #CD2697 #DF51B1 #E985C8 #F2B8DF

Accessibility & contrast

On white

3.53
#DF51B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#DF51B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51B1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51B1#FFFFFF#000000##000000
##DF51B11.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D79B4
Deuteranopia (green-blind)
#8791AE
Tritanopia (blue-blind)
#EC527A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #df51b1;
/* rgb */ color: rgb(223, 81, 177);
/* oklch */ color: oklch(65.5% 0.203 342.8);
Tailwind
colors: {
  custom: {
    50: '#ed8bc8',
    500: '#df51b1',
    950: '#000000',
  },
}
SCSS
$custom: #df51b1;
$custom-light: #ed8bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#df51b1",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 177
  },
  "hsl": {
    "h": 319.437,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65456,
    "c": 0.20318,
    "h": 342.8
  },
  "luminance": 0.24747
}

Semantic roles & 50–950 ramp

primary
#DF51B1
secondary
#AAE1BC
accent
#EC753C
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170D13
muted
#857D82

Preview Lab

Preview with #DF51B1

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

Preview Lab → · Contrast checker → · Palette generator →

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