#CC52A2#CC52A2

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

Color values

HEX#CC52A2
RGBrgb(204, 82, 162)
HSLhsl(321, 54%, 56%)
HSVhsv(321, 60%, 80%)
CMYKcmyk(0%, 59.8%, 20.6%, 20%)
CIE-LABlab(53.47, 57.01, -19.16)
CIE-LCHlch(53.47, 60.14, 341.42°)
OKLaboklab(62.22% 0.1705 -0.0511)
OKLCHoklch(62.22% 0.178 343.3)
XYZxyz(34.4417, 21.4837, 36.5083)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52A2 #52CC7C
analogous
#B952CC #CC52A2 #CC5265
triadic
#CC52A2 #A2CC52 #52A2CC
tetradic
#CC52A2 #CCB952 #52CC7C #5265CC
square
#CC52A2 #CCB952 #52CC7C #5265CC
split-complementary
#CC52A2 #65CC52 #52CCB9
monochromatic
#7E2560 #AE3383 #CC52A2 #DA81BB #E8B1D5

Accessibility & contrast

On white

3.97
#CC52A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC52A2#FFFFFF#000000##000000
##CC52A21.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc52a2;
/* rgb */ color: rgb(204, 82, 162);
/* oklch */ color: oklch(62.2% 0.178 343.3);
Tailwind
colors: {
  custom: {
    50: '#df89bd',
    500: '#cc52a2',
    950: '#000000',
  },
}
SCSS
$custom: #cc52a2;
$custom-light: #df89bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52a2",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 320.656,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62223,
    "c": 0.17798,
    "h": 343.3
  },
  "luminance": 0.21481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC52A2

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

Preview Lab → · Contrast checker → · Palette generator →

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