#DF52A7#DF52A7

#DF52A7 is a light, vivid pink. Relative luminance 0.245; OKLCH L 65.2% C 0.196 H 346.7°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#DF52A7
RGBrgb(223, 82, 167)
HSLhsl(324, 69%, 60%)
HSVhsv(324, 63%, 87%)
CMYKcmyk(0%, 63.2%, 25.1%, 12.5%)
CIE-LABlab(56.60, 63.08, -17.05)
CIE-LCHlch(56.60, 65.34, 344.88°)
OKLaboklab(65.16% 0.1906 -0.045)
OKLCHoklch(65.16% 0.196 346.7)
XYZxyz(40.4253, 24.5166, 39.1549)
Luminance0.2451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52A7 #52DF8A
analogous
#D152DF #DF52A7 #DF5261
triadic
#DF52A7 #A7DF52 #52A7DF
tetradic
#DF52A7 #DFD152 #52DF8A #5261DF
square
#DF52A7 #DFD152 #52DF8A #5261DF
split-complementary
#DF52A7 #61DF52 #52DFD1
monochromatic
#9A1D68 #CE268B #DF52A7 #E986C1 #F2B9DC

Accessibility & contrast

On white

3.56
#DF52A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#DF52A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52A7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52A7#FFFFFF#000000##000000
##DF52A71.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6278AA
Deuteranopia (green-blind)
#8A91A4
Tritanopia (blue-blind)
#ED4F75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #df52a7;
/* rgb */ color: rgb(223, 82, 167);
/* oklch */ color: oklch(65.2% 0.196 346.7);
Tailwind
colors: {
  custom: {
    50: '#ed8bc1',
    500: '#df52a7',
    950: '#000000',
  },
}
SCSS
$custom: #df52a7;
$custom-light: #ed8bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#df52a7",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 323.83,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65163,
    "c": 0.19585,
    "h": 346.7
  },
  "luminance": 0.24513
}

Semantic roles & 50–950 ramp

primary
#DF52A7
secondary
#ABE2C1
accent
#EC823C
background
#FFF8FB
surface
#FEF0F7
border
#D6CBD0
text
#170D12
muted
#857D81

Preview Lab

Preview with #DF52A7

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

Preview Lab → · Contrast checker → · Palette generator →

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