#CC5CA2#CC5CA2

#CC5CA2 is a light, vivid pink. Relative luminance 0.231; OKLCH L 63.5% C 0.163 H 344.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#CC5CA2
RGBrgb(204, 92, 162)
HSLhsl(323, 52%, 58%)
HSVhsv(323, 55%, 80%)
CMYKcmyk(0%, 54.9%, 20.6%, 20%)
CIE-LABlab(55.18, 52.43, -16.56)
CIE-LCHlch(55.18, 54.99, 342.47°)
OKLaboklab(63.48% 0.1567 -0.044)
OKLCHoklch(63.48% 0.163 344.3)
XYZxyz(35.2515, 23.1033, 36.7782)
Luminance0.2310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CA2 #5CCC86
analogous
#BE5CCC #CC5CA2 #CC5C6A
triadic
#CC5CA2 #A2CC5C #5CA2CC
tetradic
#CC5CA2 #CCBE5C #5CCC86 #5C6ACC
square
#CC5CA2 #CCBE5C #5CCC86 #5C6ACC
split-complementary
#CC5CA2 #6ACC5C #5CCCBE
monochromatic
#842962 #B33885 #CC5CA2 #DB8BBD #E9B9D7

Accessibility & contrast

On white

3.74
#CC5CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#CC5CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CA2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CA2#FFFFFF#000000##000000
##CC5CA21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6578A4
Deuteranopia (green-blind)
#848B9F
Tritanopia (blue-blind)
#D85B78
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc5ca2;
/* rgb */ color: rgb(204, 92, 162);
/* oklch */ color: oklch(63.5% 0.163 344.3);
Tailwind
colors: {
  custom: {
    50: '#de8fbd',
    500: '#cc5ca2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ca2;
$custom-light: #de8fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ca2",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 322.5,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63484,
    "c": 0.16275,
    "h": 344.3
  },
  "luminance": 0.231
}

Semantic roles & 50–950 ramp

primary
#CC5CA2
secondary
#ACD8BC
accent
#DC824C
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#150D12
muted
#847E81

Preview Lab

Preview with #CC5CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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