#CC527D#CC527D

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

Color values

HEX#CC527D
RGBrgb(204, 82, 125)
HSLhsl(339, 54%, 56%)
HSVhsv(339, 60%, 80%)
CMYKcmyk(0%, 59.8%, 38.7%, 20%)
CIE-LABlab(52.24, 52.34, 0.90)
CIE-LCHlch(52.24, 52.34, 0.98°)
OKLaboklab(60.9% 0.1597 0.003)
OKLCHoklch(60.9% 0.16 1.1)
XYZxyz(31.6227, 20.3561, 21.6618)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC527D #52CCA1
analogous
#CC52BA #CC527D #CC6452
triadic
#CC527D #7DCC52 #527DCC
tetradic
#CC527D #BACC52 #52CCA1 #6452CC
square
#CC527D #BACC52 #52CCA1 #6452CC
split-complementary
#CC527D #52CC64 #52BACC
monochromatic
#7E2545 #AE335E #CC527D #DA81A1 #E8B1C4

Accessibility & contrast

On white

4.14
#CC527D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC527D#FFFFFF#000000##000000
##CC527D1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#686E7E
Deuteranopia (green-blind)
#88857A
Tritanopia (blue-blind)
#DC4663
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc527d;
/* rgb */ color: rgb(204, 82, 125);
/* oklch */ color: oklch(60.9% 0.160 1.1);
Tailwind
colors: {
  custom: {
    50: '#e088a2',
    500: '#cc527d',
    950: '#000000',
  },
}
SCSS
$custom: #cc527d;
$custom-light: #e088a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc527d",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 125
  },
  "hsl": {
    "h": 338.852,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60899,
    "c": 0.15973,
    "h": 1.1
  },
  "luminance": 0.20353
}

Semantic roles & 50–950 ramp

primary
#CC527D
secondary
#A4D6C4
accent
#DEAA4A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CC527D

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

Preview Lab → · Contrast checker → · Palette generator →

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