#CC4CAB#CC4CAB

#CC4CAB is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.9% C 0.193 H 339.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CC4CAB
RGBrgb(204, 76, 171)
HSLhsl(315, 56%, 55%)
HSVhsv(315, 63%, 80%)
CMYKcmyk(0%, 62.7%, 16.2%, 20%)
CIE-LABlab(52.89, 60.87, -25.32)
CIE-LCHlch(52.89, 65.93, 337.41°)
OKLaboklab(61.91% 0.1801 -0.0683)
OKLCHoklch(61.91% 0.193 339.2)
XYZxyz(34.8377, 20.9496, 40.7291)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CAB #4CCC6D
analogous
#AD4CCC #CC4CAB #CC4C6B
triadic
#CC4CAB #ABCC4C #4CABCC
tetradic
#CC4CAB #CCAD4C #4CCC6D #4C6BCC
square
#CC4CAB #CCAD4C #4CCC6D #4C6BCC
split-complementary
#CC4CAB #6BCC4C #4CCCAD
monochromatic
#7B2364 #AA318B #CC4CAB #DA7CC1 #E7ABD8

Accessibility & contrast

On white

4.05
#CC4CAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CC4CAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CAB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CAB#FFFFFF#000000##000000
##CC4CAB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5271AE
Deuteranopia (green-blind)
#7986A8
Tritanopia (blue-blind)
#D75075
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4cab;
/* rgb */ color: rgb(204, 76, 171);
/* oklch */ color: oklch(61.9% 0.193 339.2);
Tailwind
colors: {
  custom: {
    50: '#df86c4',
    500: '#cc4cab',
    950: '#000000',
  },
}
SCSS
$custom: #cc4cab;
$custom-light: #df86c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4cab",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 171
  },
  "hsl": {
    "h": 315.469,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61914,
    "c": 0.19261,
    "h": 339.2
  },
  "luminance": 0.20947
}

Semantic roles & 50–950 ramp

primary
#CC4CAB
secondary
#9FD5AD
accent
#DF7049
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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