#DC52B5#DC52B5

#DC52B5 is a light, highly saturated pink. Relative luminance 0.246; OKLCH L 65.3% C 0.202 H 340.5°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#DC52B5
RGBrgb(220, 82, 181)
HSLhsl(317, 66%, 59%)
HSVhsv(317, 63%, 86%)
CMYKcmyk(0%, 62.7%, 17.7%, 13.7%)
CIE-LABlab(56.67, 64.15, -25.10)
CIE-LCHlch(56.67, 68.89, 338.63°)
OKLaboklab(65.3% 0.1907 -0.0675)
OKLCHoklch(65.3% 0.202 340.5)
XYZxyz(40.8739, 24.5901, 46.3008)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC52B5 #52DC79
analogous
#BE52DC #DC52B5 #DC5270
triadic
#DC52B5 #B5DC52 #52B5DC
tetradic
#DC52B5 #DCBE52 #52DC79 #5270DC
square
#DC52B5 #DCBE52 #52DC79 #5270DC
split-complementary
#DC52B5 #70DC52 #52DCBE
monochromatic
#951E74 #C8299B #DC52B5 #E685CB #F1B8E1

Accessibility & contrast

On white

3.55
#DC52B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#DC52B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC52B5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC52B5#FFFFFF#000000##000000
##DC52B51.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7AB8
Deuteranopia (green-blind)
#8490B2
Tritanopia (blue-blind)
#E8557C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #dc52b5;
/* rgb */ color: rgb(220, 82, 181);
/* oklch */ color: oklch(65.3% 0.202 340.5);
Tailwind
colors: {
  custom: {
    50: '#ea8bcb',
    500: '#dc52b5',
    950: '#000000',
  },
}
SCSS
$custom: #dc52b5;
$custom-light: #ea8bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc52b5",
  "rgb": {
    "r": 220,
    "g": 82,
    "b": 181
  },
  "hsl": {
    "h": 316.957,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65302,
    "c": 0.20226,
    "h": 340.5
  },
  "luminance": 0.24586
}

Semantic roles & 50–950 ramp

primary
#DC52B5
secondary
#AAE0B9
accent
#E96F3F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170D13
muted
#857D82

Preview Lab

Preview with #DC52B5

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

Preview Lab → · Contrast checker → · Palette generator →

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