#DF51A8#DF51A8

#DF51A8 is a light, vivid pink. Relative luminance 0.244; OKLCH L 65.1% C 0.198 H 346.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#DF51A8
RGBrgb(223, 81, 168)
HSLhsl(323, 69%, 60%)
HSVhsv(323, 64%, 87%)
CMYKcmyk(0%, 63.7%, 24.7%, 12.5%)
CIE-LABlab(56.49, 63.62, -17.80)
CIE-LCHlch(56.49, 66.06, 344.37°)
OKLaboklab(65.09% 0.1921 -0.0471)
OKLCHoklch(65.09% 0.198 346.2)
XYZxyz(40.4433, 24.4040, 39.6187)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51A8 #51DF88
analogous
#CF51DF #DF51A8 #DF5161
triadic
#DF51A8 #A8DF51 #51A8DF
tetradic
#DF51A8 #DFCF51 #51DF88 #5161DF
square
#DF51A8 #DFCF51 #51DF88 #5161DF
split-complementary
#DF51A8 #61DF51 #51DFCF
monochromatic
#991C69 #CD268C #DF51A8 #E985C2 #F2B8DC

Accessibility & contrast

On white

3.57
#DF51A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#DF51A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51A8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51A8#FFFFFF#000000##000000
##DF51A81.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6178AB
Deuteranopia (green-blind)
#8A90A5
Tritanopia (blue-blind)
#ED4E75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #df51a8;
/* rgb */ color: rgb(223, 81, 168);
/* oklch */ color: oklch(65.1% 0.198 346.2);
Tailwind
colors: {
  custom: {
    50: '#ed8ac2',
    500: '#df51a8',
    950: '#000000',
  },
}
SCSS
$custom: #df51a8;
$custom-light: #ed8ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#df51a8",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 168
  },
  "hsl": {
    "h": 323.239,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65093,
    "c": 0.19777,
    "h": 346.2
  },
  "luminance": 0.244
}

Semantic roles & 50–950 ramp

primary
#DF51A8
secondary
#AAE1C0
accent
#EC803C
background
#FFF8FB
surface
#FEF0F7
border
#D6CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DF51A8

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

Preview Lab → · Contrast checker → · Palette generator →

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