#CC4BAA#CC4BAA

#CC4BAA is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.8% C 0.193 H 339.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CC4BAA
RGBrgb(204, 75, 170)
HSLhsl(316, 56%, 55%)
HSVhsv(316, 63%, 80%)
CMYKcmyk(0%, 63.2%, 16.7%, 20%)
CIE-LABlab(52.70, 61.14, -25.03)
CIE-LCHlch(52.70, 66.06, 337.73°)
OKLaboklab(61.76% 0.1812 -0.0675)
OKLCHoklch(61.76% 0.193 339.6)
XYZxyz(34.6743, 20.7749, 40.2062)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4BAA #4BCC6D
analogous
#AE4BCC #CC4BAA #CC4B6A
triadic
#CC4BAA #AACC4B #4BAACC
tetradic
#CC4BAA #CCAE4B #4BCC6D #4B6ACC
square
#CC4BAA #CCAE4B #4BCC6D #4B6ACC
split-complementary
#CC4BAA #6ACC4B #4BCCAE
monochromatic
#7A2363 #AA308A #CC4BAA #DA7BC1 #E7AAD7

Accessibility & contrast

On white

4.07
#CC4BAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CC4BAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4BAA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4BAA#FFFFFF#000000##000000
##CC4BAA1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5271AD
Deuteranopia (green-blind)
#7985A7
Tritanopia (blue-blind)
#D74F74
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4baa;
/* rgb */ color: rgb(204, 75, 170);
/* oklch */ color: oklch(61.8% 0.193 339.6);
Tailwind
colors: {
  custom: {
    50: '#df85c3',
    500: '#cc4baa',
    950: '#000000',
  },
}
SCSS
$custom: #cc4baa;
$custom-light: #df85c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4baa",
  "rgb": {
    "r": 204,
    "g": 75,
    "b": 170
  },
  "hsl": {
    "h": 315.814,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.6176,
    "c": 0.19331,
    "h": 339.6
  },
  "luminance": 0.20772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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