#CC52A3#CC52A3

#CC52A3 is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.3% C 0.179 H 342.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CC52A3
RGBrgb(204, 82, 163)
HSLhsl(320, 54%, 56%)
HSVhsv(320, 60%, 80%)
CMYKcmyk(0%, 59.8%, 20.1%, 20%)
CIE-LABlab(53.51, 57.15, -19.69)
CIE-LCHlch(53.51, 60.44, 340.99°)
OKLaboklab(62.26% 0.1707 -0.0525)
OKLCHoklch(62.26% 0.179 342.9)
XYZxyz(34.5309, 21.5194, 36.9783)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52A3 #52CC7B
analogous
#B852CC #CC52A3 #CC5266
triadic
#CC52A3 #A3CC52 #52A3CC
tetradic
#CC52A3 #CCB852 #52CC7B #5266CC
square
#CC52A3 #CCB852 #52CC7B #5266CC
split-complementary
#CC52A3 #66CC52 #52CCB8
monochromatic
#7E2560 #AE3384 #CC52A3 #DA81BC #E8B1D5

Accessibility & contrast

On white

3.96
#CC52A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CC52A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC52A3
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC52A3#FFFFFF#000000##000000
##CC52A31.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A6
Deuteranopia (green-blind)
#7F87A0
Tritanopia (blue-blind)
#D85273
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc52a3;
/* rgb */ color: rgb(204, 82, 163);
/* oklch */ color: oklch(62.3% 0.179 342.9);
Tailwind
colors: {
  custom: {
    50: '#df89be',
    500: '#cc52a3',
    950: '#000000',
  },
}
SCSS
$custom: #cc52a3;
$custom-light: #df89be;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52a3",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 163
  },
  "hsl": {
    "h": 320.164,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62264,
    "c": 0.17863,
    "h": 342.9
  },
  "luminance": 0.21516
}

Semantic roles & 50–950 ramp

primary
#CC52A3
secondary
#A4D6B5
accent
#DE7C4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC52A3

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

Preview Lab → · Contrast checker → · Palette generator →

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