#CC528A#CC528A

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

Color values

HEX#CC528A
RGBrgb(204, 82, 138)
HSLhsl(332, 54%, 56%)
HSVhsv(332, 60%, 80%)
CMYKcmyk(0%, 59.8%, 32.4%, 20%)
CIE-LABlab(52.63, 53.84, -6.27)
CIE-LCHlch(52.63, 54.21, 353.36°)
OKLaboklab(61.32% 0.164 -0.0159)
OKLCHoklch(61.32% 0.165 354.5)
XYZxyz(32.5082, 20.7103, 26.3253)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC528A #52CC94
analogous
#CC52C7 #CC528A #CC5752
triadic
#CC528A #8ACC52 #528ACC
tetradic
#CC528A #C7CC52 #52CC94 #5752CC
square
#CC528A #C7CC52 #52CC94 #5752CC
split-complementary
#CC528A #52CC57 #52C7CC
monochromatic
#7E254E #AE336B #CC528A #DA81AA #E8B1CA

Accessibility & contrast

On white

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

On black

5.14
#CC528A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC528A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC528A#FFFFFF#000000##000000
##CC528A1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#64708C
Deuteranopia (green-blind)
#868687
Tritanopia (blue-blind)
#DB4A68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc528a;
/* rgb */ color: rgb(204, 82, 138);
/* oklch */ color: oklch(61.3% 0.165 354.5);
Tailwind
colors: {
  custom: {
    50: '#df88ac',
    500: '#cc528a',
    950: '#000000',
  },
}
SCSS
$custom: #cc528a;
$custom-light: #df88ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc528a",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 138
  },
  "hsl": {
    "h": 332.459,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61321,
    "c": 0.16474,
    "h": 354.5
  },
  "luminance": 0.20707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC528A

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

Preview Lab → · Contrast checker → · Palette generator →

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