#CC528D#CC528D

#CC528D is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.4% C 0.166 H 353.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CC528D
RGBrgb(204, 82, 141)
HSLhsl(331, 54%, 56%)
HSVhsv(331, 60%, 80%)
CMYKcmyk(0%, 59.8%, 30.9%, 20%)
CIE-LABlab(52.73, 54.21, -7.90)
CIE-LCHlch(52.73, 54.79, 351.71°)
OKLaboklab(61.43% 0.1649 -0.0202)
OKLCHoklch(61.43% 0.166 353)
XYZxyz(32.7284, 20.7984, 27.4850)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC528D #52CC91
analogous
#CC52CA #CC528D #CC5452
triadic
#CC528D #8DCC52 #528DCC
tetradic
#CC528D #CACC52 #52CC91 #5452CC
square
#CC528D #CACC52 #52CC91 #5452CC
split-complementary
#CC528D #52CC54 #52CACC
monochromatic
#7E2550 #AE336E #CC528D #DA81AC #E8B1CB

Accessibility & contrast

On white

4.07
#CC528D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CC528D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC528D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC528D#FFFFFF#000000##000000
##CC528D1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#64708F
Deuteranopia (green-blind)
#85868A
Tritanopia (blue-blind)
#DA4B69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc528d;
/* rgb */ color: rgb(204, 82, 141);
/* oklch */ color: oklch(61.4% 0.166 353.0);
Tailwind
colors: {
  custom: {
    50: '#df89ae',
    500: '#cc528d',
    950: '#000000',
  },
}
SCSS
$custom: #cc528d;
$custom-light: #df89ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cc528d",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 330.984,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61425,
    "c": 0.16613,
    "h": 353
  },
  "luminance": 0.20795
}

Semantic roles & 50–950 ramp

primary
#CC528D
secondary
#A4D6BE
accent
#DE964A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC528D

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

Preview Lab → · Contrast checker → · Palette generator →

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