#DF52AB#DF52AB

#DF52AB is a light, vivid pink. Relative luminance 0.247; OKLCH L 65.3% C 0.198 H 345.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#DF52AB
RGBrgb(223, 82, 171)
HSLhsl(322, 69%, 60%)
HSVhsv(322, 63%, 87%)
CMYKcmyk(0%, 63.2%, 23.3%, 12.5%)
CIE-LABlab(56.75, 63.60, -19.15)
CIE-LCHlch(56.75, 66.42, 343.24°)
OKLaboklab(65.32% 0.1916 -0.0508)
OKLCHoklch(65.32% 0.198 345.1)
XYZxyz(40.8008, 24.6668, 41.1326)
Luminance0.2466 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52AB #52DF86
analogous
#CD52DF #DF52AB #DF5264
triadic
#DF52AB #ABDF52 #52ABDF
tetradic
#DF52AB #DFCD52 #52DF86 #5264DF
square
#DF52AB #DFCD52 #52DF86 #5264DF
split-complementary
#DF52AB #64DF52 #52DFCD
monochromatic
#9A1D6C #CE2690 #DF52AB #E986C4 #F2B9DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF52AB#FFFFFF#000000##000000
##DF52AB1.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)
#6079AE
Deuteranopia (green-blind)
#8991A8
Tritanopia (blue-blind)
#ED5077
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #df52ab;
/* rgb */ color: rgb(223, 82, 171);
/* oklch */ color: oklch(65.3% 0.198 345.1);
Tailwind
colors: {
  custom: {
    50: '#ed8bc4',
    500: '#df52ab',
    950: '#000000',
  },
}
SCSS
$custom: #df52ab;
$custom-light: #ed8bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#df52ab",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 322.128,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6532,
    "c": 0.19817,
    "h": 345.1
  },
  "luminance": 0.24663
}

Semantic roles & 50–950 ramp

primary
#DF52AB
secondary
#ABE2BF
accent
#EC7D3C
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170D12
muted
#857D81

Preview Lab

Preview with #DF52AB

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

Preview Lab → · Contrast checker → · Palette generator →

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