#CC5CB3#CC5CB3

#CC5CB3 is a light, vivid pink. Relative luminance 0.237; OKLCH L 64.2% C 0.175 H 336.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#CC5CB3
RGBrgb(204, 92, 179)
HSLhsl(313, 52%, 58%)
HSVhsv(313, 55%, 80%)
CMYKcmyk(0%, 54.9%, 12.3%, 20%)
CIE-LABlab(55.84, 55.00, -25.43)
CIE-LCHlch(55.84, 60.60, 335.19°)
OKLaboklab(64.19% 0.1606 -0.0687)
OKLCHoklch(64.19% 0.175 336.8)
XYZxyz(36.8660, 23.7491, 45.2814)
Luminance0.2375 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CB3 #5CCC75
analogous
#AD5CCC #CC5CB3 #CC5C7B
triadic
#CC5CB3 #B3CC5C #5CB3CC
tetradic
#CC5CB3 #CCAD5C #5CCC75 #5C7BCC
square
#CC5CB3 #CCAD5C #5CCC75 #5C7BCC
split-complementary
#CC5CB3 #7BCC5C #5CCCAD
monochromatic
#842970 #B33897 #CC5CB3 #DB8BC9 #E9B9DE

Accessibility & contrast

On white

3.65
#CC5CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#CC5CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CB3
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CB3#FFFFFF#000000##000000
##CC5CB31.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB6
Deuteranopia (green-blind)
#7F8CB0
Tritanopia (blue-blind)
#D6617F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc5cb3;
/* rgb */ color: rgb(204, 92, 179);
/* oklch */ color: oklch(64.2% 0.175 336.8);
Tailwind
colors: {
  custom: {
    50: '#de8fca',
    500: '#cc5cb3',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cb3;
$custom-light: #de8fca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cb3",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 313.393,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64187,
    "c": 0.1747,
    "h": 336.8
  },
  "luminance": 0.23746
}

Semantic roles & 50–950 ramp

primary
#CC5CB3
secondary
#ACD8B6
accent
#DC6C4C
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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