#CC5276#CC5276

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

Color values

HEX#CC5276
RGBrgb(204, 82, 118)
HSLhsl(342, 54%, 56%)
HSVhsv(342, 60%, 80%)
CMYKcmyk(0%, 59.8%, 42.2%, 20%)
CIE-LABlab(52.04, 51.59, 4.80)
CIE-LCHlch(52.04, 51.81, 5.31°)
OKLaboklab(60.69% 0.1572 0.013)
OKLCHoklch(60.69% 0.158 4.7)
XYZxyz(31.1912, 20.1835, 19.3892)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5276 #52CCA8
analogous
#CC52B3 #CC5276 #CC6B52
triadic
#CC5276 #76CC52 #5276CC
tetradic
#CC5276 #B3CC52 #52CCA8 #6B52CC
square
#CC5276 #B3CC52 #52CCA8 #6B52CC
split-complementary
#CC5276 #52CC6B #52B3CC
monochromatic
#7E2540 #AE3357 #CC5276 #DA819B #E8B1C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5276#FFFFFF#000000##000000
##CC52761.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)
#6A6D77
Deuteranopia (green-blind)
#8A8573
Tritanopia (blue-blind)
#DC4460
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc5276;
/* rgb */ color: rgb(204, 82, 118);
/* oklch */ color: oklch(60.7% 0.158 4.7);
Tailwind
colors: {
  custom: {
    50: '#e0889d',
    500: '#cc5276',
    950: '#000000',
  },
}
SCSS
$custom: #cc5276;
$custom-light: #e0889d;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5276",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 118
  },
  "hsl": {
    "h": 342.295,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60691,
    "c": 0.15774,
    "h": 4.7
  },
  "luminance": 0.2018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5276

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

Preview Lab → · Contrast checker → · Palette generator →

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