#CC4FB2#CC4FB2

#CC4FB2 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.6% C 0.193 H 336.7°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#CC4FB2
RGBrgb(204, 79, 178)
HSLhsl(312, 55%, 55%)
HSVhsv(312, 61%, 80%)
CMYKcmyk(0%, 61.3%, 12.7%, 20%)
CIE-LABlab(53.65, 60.66, -28.23)
CIE-LCHlch(53.65, 66.90, 335.04°)
OKLaboklab(62.57% 0.1776 -0.0765)
OKLCHoklch(62.57% 0.193 336.7)
XYZxyz(35.7341, 21.6466, 44.4070)
Luminance0.2164 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FB2 #4FCC69
analogous
#A74FCC #CC4FB2 #CC4F73
triadic
#CC4FB2 #B2CC4F #4FB2CC
tetradic
#CC4FB2 #CCA74F #4FCC69 #4F73CC
square
#CC4FB2 #CCA74F #4FCC69 #4F73CC
split-complementary
#CC4FB2 #73CC4F #4FCCA7
monochromatic
#7D246A #AC3293 #CC4FB2 #DA7EC7 #E7AEDC

Accessibility & contrast

On white

3.94
#CC4FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#CC4FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FB2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FB2#FFFFFF#000000##000000
##CC4FB21.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#7887AF
Tritanopia (blue-blind)
#D65579
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc4fb2;
/* rgb */ color: rgb(204, 79, 178);
/* oklch */ color: oklch(62.6% 0.193 336.7);
Tailwind
colors: {
  custom: {
    50: '#df88c9',
    500: '#cc4fb2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fb2;
$custom-light: #df88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fb2",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 312.48,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62565,
    "c": 0.19335,
    "h": 336.7
  },
  "luminance": 0.21644
}

Semantic roles & 50–950 ramp

primary
#CC4FB2
secondary
#A1D5AC
accent
#DE6849
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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