#DF51AF#DF51AF

#DF51AF is a light, highly saturated pink. Relative luminance 0.247; OKLCH L 65.4% C 0.202 H 343.5°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#DF51AF
RGBrgb(223, 81, 175)
HSLhsl(320, 69%, 60%)
HSVhsv(320, 64%, 87%)
CMYKcmyk(0%, 63.7%, 21.5%, 12.5%)
CIE-LABlab(56.75, 64.54, -21.46)
CIE-LCHlch(56.75, 68.02, 341.61°)
OKLaboklab(65.37% 0.1937 -0.0572)
OKLCHoklch(65.37% 0.202 343.5)
XYZxyz(41.1130, 24.6719, 43.1460)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF51AF #51DF81
analogous
#C851DF #DF51AF #DF5168
triadic
#DF51AF #AFDF51 #51AFDF
tetradic
#DF51AF #DFC851 #51DF81 #5168DF
square
#DF51AF #DFC851 #51DF81 #5168DF
split-complementary
#DF51AF #68DF51 #51DFC8
monochromatic
#991C6F #CD2695 #DF51AF #E985C7 #F2B8DF

Accessibility & contrast

On white

3.54
#DF51AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#DF51AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF51AF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF51AF#FFFFFF#000000##000000
##DF51AF1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E79B2
Deuteranopia (green-blind)
#8791AC
Tritanopia (blue-blind)
#ED5179
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #df51af;
/* rgb */ color: rgb(223, 81, 175);
/* oklch */ color: oklch(65.4% 0.202 343.5);
Tailwind
colors: {
  custom: {
    50: '#ed8ac7',
    500: '#df51af',
    950: '#000000',
  },
}
SCSS
$custom: #df51af;
$custom-light: #ed8ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#df51af",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 320.282,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65374,
    "c": 0.20194,
    "h": 343.5
  },
  "luminance": 0.24668
}

Semantic roles & 50–950 ramp

primary
#DF51AF
secondary
#AAE1BD
accent
#EC773C
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170D13
muted
#857D82

Preview Lab

Preview with #DF51AF

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

Preview Lab → · Contrast checker → · Palette generator →

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