#CC5292#CC5292

#CC5292 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.6% C 0.169 H 350.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CC5292
RGBrgb(204, 82, 146)
HSLhsl(329, 54%, 56%)
HSVhsv(329, 60%, 80%)
CMYKcmyk(0%, 59.8%, 28.4%, 20%)
CIE-LABlab(52.90, 54.84, -10.61)
CIE-LCHlch(52.90, 55.86, 349.05°)
OKLaboklab(61.6% 0.1664 -0.0276)
OKLCHoklch(61.6% 0.169 350.6)
XYZxyz(33.1088, 20.9506, 29.4888)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5292 #52CC8C
analogous
#C952CC #CC5292 #CC5255
triadic
#CC5292 #92CC52 #5292CC
tetradic
#CC5292 #CCC952 #52CC8C #5255CC
square
#CC5292 #CCC952 #52CC8C #5255CC
split-complementary
#CC5292 #55CC52 #52CCC9
monochromatic
#7E2554 #AE3373 #CC5292 #DA81B0 #E8B1CE

Accessibility & contrast

On white

4.05
#CC5292 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CC5292 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5292
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5292#FFFFFF#000000##000000
##CC52921.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#627194
Deuteranopia (green-blind)
#84868F
Tritanopia (blue-blind)
#DA4D6C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc5292;
/* rgb */ color: rgb(204, 82, 146);
/* oklch */ color: oklch(61.6% 0.169 350.6);
Tailwind
colors: {
  custom: {
    50: '#df89b2',
    500: '#cc5292',
    950: '#000000',
  },
}
SCSS
$custom: #cc5292;
$custom-light: #df89b2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5292",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 146
  },
  "hsl": {
    "h": 328.525,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61604,
    "c": 0.16863,
    "h": 350.6
  },
  "luminance": 0.20947
}

Semantic roles & 50–950 ramp

primary
#CC5292
secondary
#A4D6BC
accent
#DE904A
background
#FEF8FA
surface
#FCF0F5
border
#D5CBCF
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC5292

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

Preview Lab → · Contrast checker → · Palette generator →

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