#DF51AC#DF51AC

#DF51AC is a light, highly saturated pink. Relative luminance 0.246; OKLCH L 65.3% C 0.200 H 344.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#DF51AC
RGBrgb(223, 81, 172)
HSLhsl(322, 69%, 60%)
HSVhsv(322, 64%, 87%)
CMYKcmyk(0%, 63.7%, 22.9%, 12.5%)
CIE-LABlab(56.64, 64.14, -19.90)
CIE-LCHlch(56.64, 67.16, 342.77°)
OKLaboklab(65.25% 0.193 -0.0529)
OKLCHoklch(65.25% 0.2 344.7)
XYZxyz(40.8216, 24.5553, 41.6115)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51AC #51DF84
analogous
#CB51DF #DF51AC #DF5165
triadic
#DF51AC #ACDF51 #51ACDF
tetradic
#DF51AC #DFCB51 #51DF84 #5165DF
square
#DF51AC #DFCB51 #51DF84 #5165DF
split-complementary
#DF51AC #65DF51 #51DFCB
monochromatic
#991C6C #CD2691 #DF51AC #E985C5 #F2B8DD

Accessibility & contrast

On white

3.55
#DF51AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#DF51AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51AC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51AC#FFFFFF#000000##000000
##DF51AC1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F79AF
Deuteranopia (green-blind)
#8891A9
Tritanopia (blue-blind)
#ED5077
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #df51ac;
/* rgb */ color: rgb(223, 81, 172);
/* oklch */ color: oklch(65.3% 0.200 344.7);
Tailwind
colors: {
  custom: {
    50: '#ed8ac4',
    500: '#df51ac',
    950: '#000000',
  },
}
SCSS
$custom: #df51ac;
$custom-light: #ed8ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#df51ac",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 321.549,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65252,
    "c": 0.20012,
    "h": 344.7
  },
  "luminance": 0.24551
}

Semantic roles & 50–950 ramp

primary
#DF51AC
secondary
#AAE1BE
accent
#EC7B3C
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170D12
muted
#857D81

Preview Lab

Preview with #DF51AC

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

Preview Lab → · Contrast checker → · Palette generator →

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