#CC4CB2#CC4CB2

#CC4CB2 is a light, vivid pink. Relative luminance 0.212; OKLCH L 62.2% C 0.198 H 336.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CC4CB2
RGBrgb(204, 76, 178)
HSLhsl(312, 56%, 55%)
HSVhsv(312, 63%, 80%)
CMYKcmyk(0%, 62.7%, 12.7%, 20%)
CIE-LABlab(53.19, 61.91, -28.94)
CIE-LCHlch(53.19, 68.34, 334.95°)
OKLaboklab(62.23% 0.1813 -0.0785)
OKLCHoklch(62.23% 0.198 336.6)
XYZxyz(35.5226, 21.2235, 44.3365)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CB2 #4CCC66
analogous
#A64CCC #CC4CB2 #CC4C72
triadic
#CC4CB2 #B2CC4C #4CB2CC
tetradic
#CC4CB2 #CCA64C #4CCC66 #4C72CC
square
#CC4CB2 #CCA64C #4CCC66 #4C72CC
split-complementary
#CC4CB2 #72CC4C #4CCCA6
monochromatic
#7B2369 #AA3192 #CC4CB2 #DA7CC6 #E7ABDB

Accessibility & contrast

On white

4.00
#CC4CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CC4CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CB2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CB2#FFFFFF#000000##000000
##CC4CB21.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B5
Deuteranopia (green-blind)
#7686AF
Tritanopia (blue-blind)
#D65378
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc4cb2;
/* rgb */ color: rgb(204, 76, 178);
/* oklch */ color: oklch(62.2% 0.198 336.6);
Tailwind
colors: {
  custom: {
    50: '#df86c9',
    500: '#cc4cb2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4cb2;
$custom-light: #df86c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4cb2",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 312.188,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62231,
    "c": 0.19756,
    "h": 336.6
  },
  "luminance": 0.21221
}

Semantic roles & 50–950 ramp

primary
#CC4CB2
secondary
#9FD5AA
accent
#DF6749
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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