#CC52B7#CC52B7

#CC52B7 is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.1% C 0.193 H 334.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CC52B7
RGBrgb(204, 82, 183)
HSLhsl(310, 54%, 56%)
HSVhsv(310, 60%, 80%)
CMYKcmyk(0%, 59.8%, 10.3%, 20%)
CIE-LABlab(54.34, 60.14, -30.06)
CIE-LCHlch(54.34, 67.24, 333.44°)
OKLaboklab(63.14% 0.1746 -0.0818)
OKLCHoklch(63.14% 0.193 334.9)
XYZxyz(36.4666, 22.2937, 47.1730)
Luminance0.2229 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52B7 #52CC67
analogous
#A452CC #CC52B7 #CC527A
triadic
#CC52B7 #B7CC52 #52B7CC
tetradic
#CC52B7 #CCA452 #52CC67 #527ACC
square
#CC52B7 #CCA452 #52CC67 #527ACC
split-complementary
#CC52B7 #7ACC52 #52CCA4
monochromatic
#7E256F #AE3399 #CC52B7 #DA81CB #E8B1DE

Accessibility & contrast

On white

3.85
#CC52B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#CC52B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC52B7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC52B7#FFFFFF#000000##000000
##CC52B71.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5276BA
Deuteranopia (green-blind)
#7889B4
Tritanopia (blue-blind)
#D55A7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc52b7;
/* rgb */ color: rgb(204, 82, 183);
/* oklch */ color: oklch(63.1% 0.193 334.9);
Tailwind
colors: {
  custom: {
    50: '#df89cd',
    500: '#cc52b7',
    950: '#000000',
  },
}
SCSS
$custom: #cc52b7;
$custom-light: #df89cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52b7",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 310.328,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63139,
    "c": 0.19279,
    "h": 334.9
  },
  "luminance": 0.22291
}

Semantic roles & 50–950 ramp

primary
#CC52B7
secondary
#A4D6AC
accent
#DE634A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC52B7

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

Preview Lab → · Contrast checker → · Palette generator →

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