#CC52B2#CC52B2

#CC52B2 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.9% C 0.189 H 336.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CC52B2
RGBrgb(204, 82, 178)
HSLhsl(313, 54%, 56%)
HSVhsv(313, 60%, 80%)
CMYKcmyk(0%, 59.8%, 12.7%, 20%)
CIE-LABlab(54.12, 59.37, -27.50)
CIE-LCHlch(54.12, 65.43, 335.14°)
OKLaboklab(62.91% 0.1737 -0.0745)
OKLCHoklch(62.91% 0.189 336.8)
XYZxyz(35.9554, 22.0892, 44.4808)
Luminance0.2209 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52B2 #52CC6C
analogous
#A952CC #CC52B2 #CC5275
triadic
#CC52B2 #B2CC52 #52B2CC
tetradic
#CC52B2 #CCA952 #52CC6C #5275CC
square
#CC52B2 #CCA952 #52CC6C #5275CC
split-complementary
#CC52B2 #75CC52 #52CCA9
monochromatic
#7E256B #AE3394 #CC52B2 #DA81C7 #E8B1DC

Accessibility & contrast

On white

3.88
#CC52B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CC52B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC52B2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC52B2#FFFFFF#000000##000000
##CC52B21.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5476B5
Deuteranopia (green-blind)
#7A88AF
Tritanopia (blue-blind)
#D6587B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc52b2;
/* rgb */ color: rgb(204, 82, 178);
/* oklch */ color: oklch(62.9% 0.189 336.8);
Tailwind
colors: {
  custom: {
    50: '#df89c9',
    500: '#cc52b2',
    950: '#000000',
  },
}
SCSS
$custom: #cc52b2;
$custom-light: #df89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52b2",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 312.787,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62911,
    "c": 0.18904,
    "h": 336.8
  },
  "luminance": 0.22086
}

Semantic roles & 50–950 ramp

primary
#CC52B2
secondary
#A4D6AE
accent
#DE694A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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