#DC52A1#DC52A1

#DC52A1 is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.5% C 0.190 H 348.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#DC52A1
RGBrgb(220, 82, 161)
HSLhsl(326, 66%, 59%)
HSVhsv(326, 63%, 86%)
CMYKcmyk(0%, 62.7%, 26.8%, 13.7%)
CIE-LABlab(55.91, 61.46, -14.64)
CIE-LCHlch(55.91, 63.18, 346.61°)
OKLaboklab(64.5% 0.1862 -0.0384)
OKLCHoklch(64.5% 0.19 348.3)
XYZxyz(38.9671, 23.8274, 36.2583)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52A1 #52DC8D
analogous
#D252DC #DC52A1 #DC525C
triadic
#DC52A1 #A1DC52 #52A1DC
tetradic
#DC52A1 #DCD252 #52DC8D #525CDC
square
#DC52A1 #DCD252 #52DC8D #525CDC
split-complementary
#DC52A1 #5CDC52 #52DCD2
monochromatic
#951E62 #C82984 #DC52A1 #E685BD #F1B8D8

Accessibility & contrast

On white

3.64
#DC52A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#DC52A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52A1
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52A1#FFFFFF#000000##000000
##DC52A11.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6377A3
Deuteranopia (green-blind)
#8A8F9E
Tritanopia (blue-blind)
#EB4D73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dc52a1;
/* rgb */ color: rgb(220, 82, 161);
/* oklch */ color: oklch(64.5% 0.190 348.3);
Tailwind
colors: {
  custom: {
    50: '#eb8abc',
    500: '#dc52a1',
    950: '#000000',
  },
}
SCSS
$custom: #dc52a1;
$custom-light: #eb8abc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52a1",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 161
  },
  "hsl": {
    "h": 325.652,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64495,
    "c": 0.19013,
    "h": 348.3
  },
  "luminance": 0.23823
}

Semantic roles & 50–950 ramp

primary
#DC52A1
secondary
#AAE0C1
accent
#E9883F
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DC52A1

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

Preview Lab → · Contrast checker → · Palette generator →

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