#CC528B#CC528B

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

Color values

HEX#CC528B
RGBrgb(204, 82, 139)
HSLhsl(332, 54%, 56%)
HSVhsv(332, 60%, 80%)
CMYKcmyk(0%, 59.8%, 31.9%, 20%)
CIE-LABlab(52.66, 53.97, -6.81)
CIE-LCHlch(52.66, 54.39, 352.81°)
OKLaboklab(61.36% 0.1643 -0.0173)
OKLCHoklch(61.36% 0.165 354)
XYZxyz(32.5809, 20.7394, 26.7084)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC528B #52CC93
analogous
#CC52C8 #CC528B #CC5652
triadic
#CC528B #8BCC52 #528BCC
tetradic
#CC528B #C8CC52 #52CC93 #5652CC
square
#CC528B #C8CC52 #52CC93 #5652CC
split-complementary
#CC528B #52CC56 #52C8CC
monochromatic
#7E254F #AE336C #CC528B #DA81AB #E8B1CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC528B#FFFFFF#000000##000000
##CC528B1.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)
#64708D
Deuteranopia (green-blind)
#858688
Tritanopia (blue-blind)
#DB4A68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc528b;
/* rgb */ color: rgb(204, 82, 139);
/* oklch */ color: oklch(61.4% 0.165 354.0);
Tailwind
colors: {
  custom: {
    50: '#df88ac',
    500: '#cc528b',
    950: '#000000',
  },
}
SCSS
$custom: #cc528b;
$custom-light: #df88ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc528b",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 331.967,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61355,
    "c": 0.16519,
    "h": 354
  },
  "luminance": 0.20736
}

Semantic roles & 50–950 ramp

primary
#CC528B
secondary
#A4D6BF
accent
#DE994A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC528B

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

Preview Lab → · Contrast checker → · Palette generator →

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