#CC528C#CC528C

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

Color values

HEX#CC528C
RGBrgb(204, 82, 140)
HSLhsl(331, 54%, 56%)
HSVhsv(331, 60%, 80%)
CMYKcmyk(0%, 59.8%, 31.4%, 20%)
CIE-LABlab(52.70, 54.09, -7.36)
CIE-LCHlch(52.70, 54.59, 352.25°)
OKLaboklab(61.39% 0.1646 -0.0188)
OKLCHoklch(61.39% 0.166 353.5)
XYZxyz(32.6543, 20.7687, 27.0949)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC528C #52CC92
analogous
#CC52C9 #CC528C #CC5552
triadic
#CC528C #8CCC52 #528CCC
tetradic
#CC528C #C9CC52 #52CC92 #5552CC
square
#CC528C #C9CC52 #52CC92 #5552CC
split-complementary
#CC528C #52CC55 #52C9CC
monochromatic
#7E2550 #AE336D #CC528C #DA81AB #E8B1CB

Accessibility & contrast

On white

4.08
#CC528C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CC528C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC528C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC528C#FFFFFF#000000##000000
##CC528C1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#64708E
Deuteranopia (green-blind)
#858689
Tritanopia (blue-blind)
#DB4B69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc528c;
/* rgb */ color: rgb(204, 82, 140);
/* oklch */ color: oklch(61.4% 0.166 353.5);
Tailwind
colors: {
  custom: {
    50: '#df88ad',
    500: '#cc528c',
    950: '#000000',
  },
}
SCSS
$custom: #cc528c;
$custom-light: #df88ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cc528c",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 331.475,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6139,
    "c": 0.16566,
    "h": 353.5
  },
  "luminance": 0.20765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC528C

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

Preview Lab → · Contrast checker → · Palette generator →

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