#CC50B2#CC50B2

#CC50B2 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.7% C 0.192 H 336.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CC50B2
RGBrgb(204, 80, 178)
HSLhsl(313, 55%, 56%)
HSVhsv(313, 61%, 80%)
CMYKcmyk(0%, 60.8%, 12.7%, 20%)
CIE-LABlab(53.81, 60.23, -27.99)
CIE-LCHlch(53.81, 66.42, 335.07°)
OKLaboklab(62.68% 0.1763 -0.0759)
OKLCHoklch(62.68% 0.192 336.7)
XYZxyz(35.8068, 21.7919, 44.4312)
Luminance0.2179 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC50B2 #50CC6A
analogous
#A850CC #CC50B2 #CC5074
triadic
#CC50B2 #B2CC50 #50B2CC
tetradic
#CC50B2 #CCA850 #50CC6A #5074CC
square
#CC50B2 #CCA850 #50CC6A #5074CC
split-complementary
#CC50B2 #74CC50 #50CCA8
monochromatic
#7D246B #AD3293 #CC50B2 #DA7FC7 #E8AFDC

Accessibility & contrast

On white

3.92
#CC50B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CC50B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC50B2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC50B2#FFFFFF#000000##000000
##CC50B21.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5275B5
Deuteranopia (green-blind)
#7887AF
Tritanopia (blue-blind)
#D6567A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc50b2;
/* rgb */ color: rgb(204, 80, 178);
/* oklch */ color: oklch(62.7% 0.192 336.7);
Tailwind
colors: {
  custom: {
    50: '#df88c9',
    500: '#cc50b2',
    950: '#000000',
  },
}
SCSS
$custom: #cc50b2;
$custom-light: #df88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc50b2",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 312.581,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62679,
    "c": 0.19193,
    "h": 336.7
  },
  "luminance": 0.21789
}

Semantic roles & 50–950 ramp

primary
#CC50B2
secondary
#A2D6AD
accent
#DE694A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC50B2

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

Preview Lab → · Contrast checker → · Palette generator →

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