#CC527C#CC527C

#CC527C is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.159 H 1.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CC527C
RGBrgb(204, 82, 124)
HSLhsl(339, 54%, 56%)
HSVhsv(339, 60%, 80%)
CMYKcmyk(0%, 59.8%, 39.2%, 20%)
CIE-LABlab(52.21, 52.23, 1.45)
CIE-LCHlch(52.21, 52.25, 1.59°)
OKLaboklab(60.87% 0.1594 0.0044)
OKLCHoklch(60.87% 0.159 1.6)
XYZxyz(31.5592, 20.3307, 21.3271)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC527C #52CCA2
analogous
#CC52B9 #CC527C #CC6552
triadic
#CC527C #7CCC52 #527CCC
tetradic
#CC527C #B9CC52 #52CCA2 #6552CC
square
#CC527C #B9CC52 #52CCA2 #6552CC
split-complementary
#CC527C #52CC65 #52B9CC
monochromatic
#7E2544 #AE335D #CC527C #DA81A0 #E8B1C4

Accessibility & contrast

On white

4.15
#CC527C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CC527C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC527C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC527C#FFFFFF#000000##000000
##CC527C1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#686E7D
Deuteranopia (green-blind)
#898579
Tritanopia (blue-blind)
#DC4662
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc527c;
/* rgb */ color: rgb(204, 82, 124);
/* oklch */ color: oklch(60.9% 0.159 1.6);
Tailwind
colors: {
  custom: {
    50: '#e088a1',
    500: '#cc527c',
    950: '#000000',
  },
}
SCSS
$custom: #cc527c;
$custom-light: #e088a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc527c",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 124
  },
  "hsl": {
    "h": 339.344,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60868,
    "c": 0.15941,
    "h": 1.6
  },
  "luminance": 0.20327
}

Semantic roles & 50–950 ramp

primary
#CC527C
secondary
#A4D6C5
accent
#DEAB4A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CC527C

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

Preview Lab → · Contrast checker → · Palette generator →

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