#DF51A5#DF51A5

#DF51A5 is a light, vivid pink. Relative luminance 0.243; OKLCH L 65.0% C 0.196 H 347.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#DF51A5
RGBrgb(223, 81, 165)
HSLhsl(325, 69%, 60%)
HSVhsv(325, 64%, 87%)
CMYKcmyk(0%, 63.7%, 26%, 12.5%)
CIE-LABlab(56.38, 63.23, -16.22)
CIE-LCHlch(56.38, 65.28, 345.61°)
OKLaboklab(64.98% 0.1914 -0.0427)
OKLCHoklch(64.98% 0.196 347.4)
XYZxyz(40.1670, 24.2935, 38.1638)
Luminance0.2429 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51A5 #51DF8B
analogous
#D251DF #DF51A5 #DF515E
triadic
#DF51A5 #A5DF51 #51A5DF
tetradic
#DF51A5 #DFD251 #51DF8B #515EDF
square
#DF51A5 #DFD251 #51DF8B #515EDF
split-complementary
#DF51A5 #5EDF51 #51DFD2
monochromatic
#991C66 #CD2689 #DF51A5 #E985C0 #F2B8DA

Accessibility & contrast

On white

3.58
#DF51A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#DF51A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51A5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51A5#FFFFFF#000000##000000
##DF51A51.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6278A8
Deuteranopia (green-blind)
#8A90A2
Tritanopia (blue-blind)
#EE4D74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #df51a5;
/* rgb */ color: rgb(223, 81, 165);
/* oklch */ color: oklch(65.0% 0.196 347.4);
Tailwind
colors: {
  custom: {
    50: '#ed8abf',
    500: '#df51a5',
    950: '#000000',
  },
}
SCSS
$custom: #df51a5;
$custom-light: #ed8abf;
$custom-dark: #000000;
JSON
{
  "hex": "#df51a5",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 165
  },
  "hsl": {
    "h": 324.507,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64977,
    "c": 0.19608,
    "h": 347.4
  },
  "luminance": 0.24289
}

Semantic roles & 50–950 ramp

primary
#DF51A5
secondary
#AAE1C1
accent
#EC843C
background
#FFF8FB
surface
#FEF0F7
border
#D6CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DF51A5

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

Preview Lab → · Contrast checker → · Palette generator →

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