#DC52B1#DC52B1

#DC52B1 is a light, vivid pink. Relative luminance 0.244; OKLCH L 65.1% C 0.200 H 342.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#DC52B1
RGBrgb(220, 82, 177)
HSLhsl(319, 66%, 59%)
HSVhsv(319, 63%, 86%)
CMYKcmyk(0%, 62.7%, 19.5%, 13.7%)
CIE-LABlab(56.51, 63.59, -23.03)
CIE-LCHlch(56.51, 67.64, 340.09°)
OKLaboklab(65.13% 0.1899 -0.0617)
OKLCHoklch(65.13% 0.2 342)
XYZxyz(40.4694, 24.4283, 44.1702)
Luminance0.2442 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52B1 #52DC7D
analogous
#C252DC #DC52B1 #DC526C
triadic
#DC52B1 #B1DC52 #52B1DC
tetradic
#DC52B1 #DCC252 #52DC7D #526CDC
square
#DC52B1 #DCC252 #52DC7D #526CDC
split-complementary
#DC52B1 #6CDC52 #52DCC2
monochromatic
#951E70 #C82997 #DC52B1 #E685C8 #F1B8DF

Accessibility & contrast

On white

3.57
#DC52B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#DC52B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52B1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52B1#FFFFFF#000000##000000
##DC52B11.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C79B4
Deuteranopia (green-blind)
#8590AE
Tritanopia (blue-blind)
#E9537A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #dc52b1;
/* rgb */ color: rgb(220, 82, 177);
/* oklch */ color: oklch(65.1% 0.200 342.0);
Tailwind
colors: {
  custom: {
    50: '#ea8bc8',
    500: '#dc52b1',
    950: '#000000',
  },
}
SCSS
$custom: #dc52b1;
$custom-light: #ea8bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52b1",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 177
  },
  "hsl": {
    "h": 318.696,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65133,
    "c": 0.19965,
    "h": 342
  },
  "luminance": 0.24425
}

Semantic roles & 50–950 ramp

primary
#DC52B1
secondary
#AAE0BB
accent
#E9743F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170D13
muted
#857D82

Preview Lab

Preview with #DC52B1

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

Preview Lab → · Contrast checker → · Palette generator →

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