#DF52A2#DF52A2

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

Color values

HEX#DF52A2
RGBrgb(223, 82, 162)
HSLhsl(326, 69%, 60%)
HSVhsv(326, 63%, 87%)
CMYKcmyk(0%, 63.2%, 27.4%, 12.5%)
CIE-LABlab(56.42, 62.44, -14.41)
CIE-LCHlch(56.42, 64.08, 347.01°)
OKLaboklab(64.97% 0.1894 -0.0377)
OKLCHoklch(64.97% 0.193 348.7)
XYZxyz(39.9720, 24.3353, 36.7675)
Luminance0.2433 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52A2 #52DF8F
analogous
#D552DF #DF52A2 #DF525C
triadic
#DF52A2 #A2DF52 #52A2DF
tetradic
#DF52A2 #DFD552 #52DF8F #525CDF
square
#DF52A2 #DFD552 #52DF8F #525CDF
split-complementary
#DF52A2 #5CDF52 #52DFD5
monochromatic
#9A1D64 #CE2685 #DF52A2 #E986BE #F2B9DA

Accessibility & contrast

On white

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

On black

5.87
#DF52A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52A2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52A2#FFFFFF#000000##000000
##DF52A21.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6478A4
Deuteranopia (green-blind)
#8C909F
Tritanopia (blue-blind)
#EE4D73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #df52a2;
/* rgb */ color: rgb(223, 82, 162);
/* oklch */ color: oklch(65.0% 0.193 348.7);
Tailwind
colors: {
  custom: {
    50: '#ed8bbd',
    500: '#df52a2',
    950: '#000000',
  },
}
SCSS
$custom: #df52a2;
$custom-light: #ed8bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#df52a2",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 325.957,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64972,
    "c": 0.19308,
    "h": 348.7
  },
  "luminance": 0.24331
}

Semantic roles & 50–950 ramp

primary
#DF52A2
secondary
#ABE2C3
accent
#EC883C
background
#FFF8FB
surface
#FEF0F6
border
#D6CBD0
text
#170D12
muted
#857D81

Preview Lab

Preview with #DF52A2

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

Preview Lab → · Contrast checker → · Palette generator →

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