#CC528E#CC528E

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

Color values

HEX#CC528E
RGBrgb(204, 82, 142)
HSLhsl(330, 54%, 56%)
HSVhsv(330, 60%, 80%)
CMYKcmyk(0%, 59.8%, 30.4%, 20%)
CIE-LABlab(52.76, 54.34, -8.45)
CIE-LCHlch(52.76, 54.99, 351.17°)
OKLaboklab(61.46% 0.1652 -0.0217)
OKLCHoklch(61.46% 0.167 352.5)
XYZxyz(32.8031, 20.8283, 27.8786)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC528E #52CC90
analogous
#CC52CB #CC528E #CC5352
triadic
#CC528E #8ECC52 #528ECC
tetradic
#CC528E #CBCC52 #52CC90 #5352CC
square
#CC528E #CBCC52 #52CC90 #5352CC
split-complementary
#CC528E #52CC53 #52CBCC
monochromatic
#7E2551 #AE336F #CC528E #DA81AD #E8B1CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC528E#FFFFFF#000000##000000
##CC528E1.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)
#637090
Deuteranopia (green-blind)
#85868B
Tritanopia (blue-blind)
#DA4B6A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc528e;
/* rgb */ color: rgb(204, 82, 142);
/* oklch */ color: oklch(61.5% 0.167 352.5);
Tailwind
colors: {
  custom: {
    50: '#df89af',
    500: '#cc528e',
    950: '#000000',
  },
}
SCSS
$custom: #cc528e;
$custom-light: #df89af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc528e",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 330.492,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6146,
    "c": 0.16661,
    "h": 352.5
  },
  "luminance": 0.20825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC528E

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

Preview Lab → · Contrast checker → · Palette generator →

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