#CC5291#CC5291

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

Color values

HEX#CC5291
RGBrgb(204, 82, 145)
HSLhsl(329, 54%, 56%)
HSVhsv(329, 60%, 80%)
CMYKcmyk(0%, 59.8%, 28.9%, 20%)
CIE-LABlab(52.86, 54.72, -10.07)
CIE-LCHlch(52.86, 55.64, 349.57°)
OKLaboklab(61.57% 0.1661 -0.0261)
OKLCHoklch(61.57% 0.168 351.1)
XYZxyz(33.0314, 20.9196, 29.0809)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5291 #52CC8D
analogous
#CA52CC #CC5291 #CC5254
triadic
#CC5291 #91CC52 #5291CC
tetradic
#CC5291 #CCCA52 #52CC8D #5254CC
square
#CC5291 #CCCA52 #52CC8D #5254CC
split-complementary
#CC5291 #54CC52 #52CCCA
monochromatic
#7E2553 #AE3372 #CC5291 #DA81AF #E8B1CD

Accessibility & contrast

On white

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

On black

5.18
#CC5291 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5291
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5291#FFFFFF#000000##000000
##CC52911.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#627093
Deuteranopia (green-blind)
#84868E
Tritanopia (blue-blind)
#DA4C6B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc5291;
/* rgb */ color: rgb(204, 82, 145);
/* oklch */ color: oklch(61.6% 0.168 351.1);
Tailwind
colors: {
  custom: {
    50: '#df89b1',
    500: '#cc5291',
    950: '#000000',
  },
}
SCSS
$custom: #cc5291;
$custom-light: #df89b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5291",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 329.016,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61568,
    "c": 0.16811,
    "h": 351.1
  },
  "luminance": 0.20916
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5291

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

Preview Lab → · Contrast checker → · Palette generator →

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