#CC5277#CC5277

#CC5277 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.7% C 0.158 H 4.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CC5277
RGBrgb(204, 82, 119)
HSLhsl(342, 54%, 56%)
HSVhsv(342, 60%, 80%)
CMYKcmyk(0%, 59.8%, 41.7%, 20%)
CIE-LABlab(52.07, 51.69, 4.24)
CIE-LCHlch(52.07, 51.86, 4.69°)
OKLaboklab(60.72% 0.1576 0.0115)
OKLCHoklch(60.72% 0.158 4.2)
XYZxyz(31.2510, 20.2074, 19.7039)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5277 #52CCA7
analogous
#CC52B4 #CC5277 #CC6A52
triadic
#CC5277 #77CC52 #5277CC
tetradic
#CC5277 #B4CC52 #52CCA7 #6A52CC
square
#CC5277 #B4CC52 #52CCA7 #6A52CC
split-complementary
#CC5277 #52CC6A #52B4CC
monochromatic
#7E2540 #AE3358 #CC5277 #DA819C #E8B1C1

Accessibility & contrast

On white

4.17
#CC5277 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CC5277 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5277
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5277#FFFFFF#000000##000000
##CC52771.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6D78
Deuteranopia (green-blind)
#8A8574
Tritanopia (blue-blind)
#DC4460
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc5277;
/* rgb */ color: rgb(204, 82, 119);
/* oklch */ color: oklch(60.7% 0.158 4.2);
Tailwind
colors: {
  custom: {
    50: '#e0889e',
    500: '#cc5277',
    950: '#000000',
  },
}
SCSS
$custom: #cc5277;
$custom-light: #e0889e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5277",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 119
  },
  "hsl": {
    "h": 341.803,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6072,
    "c": 0.15799,
    "h": 4.2
  },
  "luminance": 0.20204
}

Semantic roles & 50–950 ramp

primary
#CC5277
secondary
#A4D6C7
accent
#DEB14A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC5277

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

Preview Lab → · Contrast checker → · Palette generator →

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