#DF51B2#DF51B2

#DF51B2 is a light, highly saturated pink. Relative luminance 0.248; OKLCH L 65.5% C 0.204 H 342.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#DF51B2
RGBrgb(223, 81, 178)
HSLhsl(319, 69%, 60%)
HSVhsv(319, 64%, 87%)
CMYKcmyk(0%, 63.7%, 20.2%, 12.5%)
CIE-LABlab(56.87, 64.95, -23.02)
CIE-LCHlch(56.87, 68.91, 340.48°)
OKLaboklab(65.5% 0.1943 -0.0616)
OKLCHoklch(65.5% 0.204 342.4)
XYZxyz(41.4109, 24.7911, 44.7151)
Luminance0.2479 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51B2 #51DF7E
analogous
#C551DF #DF51B2 #DF516B
triadic
#DF51B2 #B2DF51 #51B2DF
tetradic
#DF51B2 #DFC551 #51DF7E #516BDF
square
#DF51B2 #DFC551 #51DF7E #516BDF
split-complementary
#DF51B2 #6BDF51 #51DFC5
monochromatic
#991C72 #CD2698 #DF51B2 #E985C9 #F2B8E0

Accessibility & contrast

On white

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

On black

5.96
#DF51B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51B2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51B2#FFFFFF#000000##000000
##DF51B21.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df51b2;
/* rgb */ color: rgb(223, 81, 178);
/* oklch */ color: oklch(65.5% 0.204 342.4);
Tailwind
colors: {
  custom: {
    50: '#ed8bc9',
    500: '#df51b2',
    950: '#000000',
  },
}
SCSS
$custom: #df51b2;
$custom-light: #ed8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#df51b2",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 319.014,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65498,
    "c": 0.20381,
    "h": 342.4
  },
  "luminance": 0.24787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF51B2

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

Preview Lab → · Contrast checker → · Palette generator →

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