#DC52AF#DC52AF

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

Color values

HEX#DC52AF
RGBrgb(220, 82, 175)
HSLhsl(320, 66%, 59%)
HSVhsv(320, 63%, 86%)
CMYKcmyk(0%, 62.7%, 20.5%, 13.7%)
CIE-LABlab(56.44, 63.32, -21.99)
CIE-LCHlch(56.44, 67.03, 340.85°)
OKLaboklab(65.05% 0.1895 -0.0588)
OKLCHoklch(65.05% 0.198 342.8)
XYZxyz(40.2715, 24.3491, 43.1280)
Luminance0.2434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52AF #52DC7F
analogous
#C452DC #DC52AF #DC526A
triadic
#DC52AF #AFDC52 #52AFDC
tetradic
#DC52AF #DCC452 #52DC7F #526ADC
square
#DC52AF #DCC452 #52DC7F #526ADC
split-complementary
#DC52AF #6ADC52 #52DCC4
monochromatic
#951E6F #C82994 #DC52AF #E685C7 #F1B8DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC52AF#FFFFFF#000000##000000
##DC52AF1.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)
#5D79B2
Deuteranopia (green-blind)
#8690AC
Tritanopia (blue-blind)
#E95379
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dc52af;
/* rgb */ color: rgb(220, 82, 175);
/* oklch */ color: oklch(65.0% 0.198 342.8);
Tailwind
colors: {
  custom: {
    50: '#ea8bc7',
    500: '#dc52af',
    950: '#000000',
  },
}
SCSS
$custom: #dc52af;
$custom-light: #ea8bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52af",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 319.565,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65049,
    "c": 0.19838,
    "h": 342.8
  },
  "luminance": 0.24345
}

Semantic roles & 50–950 ramp

primary
#DC52AF
secondary
#AAE0BC
accent
#E9763F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170D13
muted
#857D82

Preview Lab

Preview with #DC52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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