#CC4FAB#CC4FAB

#CC4FAB is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.3% C 0.188 H 339.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CC4FAB
RGBrgb(204, 79, 171)
HSLhsl(316, 55%, 55%)
HSVhsv(316, 61%, 80%)
CMYKcmyk(0%, 61.3%, 16.2%, 20%)
CIE-LABlab(53.35, 59.61, -24.61)
CIE-LCHlch(53.35, 64.49, 337.57°)
OKLaboklab(62.25% 0.1763 -0.0663)
OKLCHoklch(62.25% 0.188 339.4)
XYZxyz(35.0492, 21.3726, 40.7996)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FAB #4FCC70
analogous
#AE4FCC #CC4FAB #CC4F6C
triadic
#CC4FAB #ABCC4F #4FABCC
tetradic
#CC4FAB #CCAE4F #4FCC70 #4F6CCC
square
#CC4FAB #CCAE4F #4FCC70 #4F6CCC
split-complementary
#CC4FAB #6CCC4F #4FCCAE
monochromatic
#7D2465 #AC328C #CC4FAB #DA7EC2 #E7AED8

Accessibility & contrast

On white

3.98
#CC4FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CC4FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FAB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FAB#FFFFFF#000000##000000
##CC4FAB1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5573AE
Deuteranopia (green-blind)
#7A87A8
Tritanopia (blue-blind)
#D75376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc4fab;
/* rgb */ color: rgb(204, 79, 171);
/* oklch */ color: oklch(62.3% 0.188 339.4);
Tailwind
colors: {
  custom: {
    50: '#df88c4',
    500: '#cc4fab',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fab;
$custom-light: #df88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fab",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 315.84,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62252,
    "c": 0.18837,
    "h": 339.4
  },
  "luminance": 0.2137
}

Semantic roles & 50–950 ramp

primary
#CC4FAB
secondary
#A1D5AF
accent
#DE7149
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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