#CC528F#CC528F

#CC528F is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.5% C 0.167 H 352.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CC528F
RGBrgb(204, 82, 143)
HSLhsl(330, 54%, 56%)
HSVhsv(330, 60%, 80%)
CMYKcmyk(0%, 59.8%, 29.9%, 20%)
CIE-LABlab(52.79, 54.46, -8.99)
CIE-LCHlch(52.79, 55.20, 350.63°)
OKLaboklab(61.5% 0.1655 -0.0232)
OKLCHoklch(61.5% 0.167 352)
XYZxyz(32.8785, 20.8584, 28.2758)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC528F #52CC8F
analogous
#CC52CC #CC528F #CC5252
triadic
#CC528F #8FCC52 #528FCC
tetradic
#CC528F #CCCC52 #52CC8F #5252CC
square
#CC528F #CCCC52 #52CC8F #5252CC
split-complementary
#CC528F #52CC52 #52CCCC
monochromatic
#7E2552 #AE3370 #CC528F #DA81AE #E8B1CC

Accessibility & contrast

On white

4.06
#CC528F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CC528F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC528F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC528F#FFFFFF#000000##000000
##CC528F1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#637091
Deuteranopia (green-blind)
#84868C
Tritanopia (blue-blind)
#DA4C6A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc528f;
/* rgb */ color: rgb(204, 82, 143);
/* oklch */ color: oklch(61.5% 0.167 352.0);
Tailwind
colors: {
  custom: {
    50: '#df89af',
    500: '#cc528f',
    950: '#000000',
  },
}
SCSS
$custom: #cc528f;
$custom-light: #df89af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc528f",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 330,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61496,
    "c": 0.1671,
    "h": 352
  },
  "luminance": 0.20855
}

Semantic roles & 50–950 ramp

primary
#CC528F
secondary
#A4D6BD
accent
#DE944A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC528F

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

Preview Lab → · Contrast checker → · Palette generator →

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