#CC50B4#CC50B4

#CC50B4 is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.8% C 0.193 H 336.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#CC50B4
RGBrgb(204, 80, 180)
HSLhsl(312, 55%, 56%)
HSVhsv(312, 61%, 80%)
CMYKcmyk(0%, 60.8%, 11.8%, 20%)
CIE-LABlab(53.89, 60.54, -29.02)
CIE-LCHlch(53.89, 67.13, 334.39°)
OKLaboklab(62.77% 0.1766 -0.0788)
OKLCHoklch(62.77% 0.193 336)
XYZxyz(36.0091, 21.8729, 45.4965)
Luminance0.2187 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC50B4 #50CC68
analogous
#A650CC #CC50B4 #CC5076
triadic
#CC50B4 #B4CC50 #50B4CC
tetradic
#CC50B4 #CCA650 #50CC68 #5076CC
square
#CC50B4 #CCA650 #50CC68 #5076CC
split-complementary
#CC50B4 #76CC50 #50CCA6
monochromatic
#7D246C #AD3295 #CC50B4 #DA7FC8 #E8AFDD

Accessibility & contrast

On white

3.91
#CC50B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CC50B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC50B4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC50B4#FFFFFF#000000##000000
##CC50B41.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5175B7
Deuteranopia (green-blind)
#7888B1
Tritanopia (blue-blind)
#D6577B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc50b4;
/* rgb */ color: rgb(204, 80, 180);
/* oklch */ color: oklch(62.8% 0.193 336.0);
Tailwind
colors: {
  custom: {
    50: '#df88ca',
    500: '#cc50b4',
    950: '#000000',
  },
}
SCSS
$custom: #cc50b4;
$custom-light: #df88ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc50b4",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 180
  },
  "hsl": {
    "h": 311.613,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6277,
    "c": 0.1934,
    "h": 336
  },
  "luminance": 0.2187
}

Semantic roles & 50–950 ramp

primary
#CC50B4
secondary
#A2D6AC
accent
#DE664A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC50B4

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

Preview Lab → · Contrast checker → · Palette generator →

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