#CC527F#CC527F

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

Color values

HEX#CC527F
RGBrgb(204, 82, 127)
HSLhsl(338, 54%, 56%)
HSVhsv(338, 60%, 80%)
CMYKcmyk(0%, 59.8%, 37.7%, 20%)
CIE-LABlab(52.30, 52.56, -0.21)
CIE-LCHlch(52.30, 52.56, 359.77°)
OKLaboklab(60.96% 0.1604 0.0001)
OKLCHoklch(60.96% 0.16 0)
XYZxyz(31.7518, 20.4077, 22.3415)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC527F #52CC9F
analogous
#CC52BC #CC527F #CC6252
triadic
#CC527F #7FCC52 #527FCC
tetradic
#CC527F #BCCC52 #52CC9F #6252CC
square
#CC527F #BCCC52 #52CC9F #6252CC
split-complementary
#CC527F #52CC62 #52BCCC
monochromatic
#7E2546 #AE3360 #CC527F #DA81A2 #E8B1C5

Accessibility & contrast

On white

4.13
#CC527F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CC527F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC527F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC527F#FFFFFF#000000##000000
##CC527F1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#686E80
Deuteranopia (green-blind)
#88857C
Tritanopia (blue-blind)
#DC4763
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc527f;
/* rgb */ color: rgb(204, 82, 127);
/* oklch */ color: oklch(61.0% 0.160 0.0);
Tailwind
colors: {
  custom: {
    50: '#e088a4',
    500: '#cc527f',
    950: '#000000',
  },
}
SCSS
$custom: #cc527f;
$custom-light: #e088a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc527f",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 127
  },
  "hsl": {
    "h": 337.869,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60961,
    "c": 0.16038,
    "h": 0
  },
  "luminance": 0.20404
}

Semantic roles & 50–950 ramp

primary
#CC527F
secondary
#A4D6C4
accent
#DEA74A
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC527F

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

Preview Lab → · Contrast checker → · Palette generator →

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