#CC4BA1#CC4BA1

#CC4BA1 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.4% C 0.187 H 343.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CC4BA1
RGBrgb(204, 75, 161)
HSLhsl(320, 56%, 55%)
HSVhsv(320, 63%, 80%)
CMYKcmyk(0%, 63.2%, 21.1%, 20%)
CIE-LABlab(52.34, 59.86, -20.31)
CIE-LCHlch(52.34, 63.21, 341.26°)
OKLaboklab(61.37% 0.1794 -0.0542)
OKLCHoklch(61.37% 0.187 343.2)
XYZxyz(33.8519, 20.4459, 35.8749)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4BA1 #4BCC76
analogous
#B74BCC #CC4BA1 #CC4B61
triadic
#CC4BA1 #A1CC4B #4BA1CC
tetradic
#CC4BA1 #CCB74B #4BCC76 #4B61CC
square
#CC4BA1 #CCB74B #4BCC76 #4B61CC
split-complementary
#CC4BA1 #61CC4B #4BCCB7
monochromatic
#7A235D #AA3081 #CC4BA1 #DA7BBA #E7AAD3

Accessibility & contrast

On white

4.13
#CC4BA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CC4BA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4BA1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4BA1#FFFFFF#000000##000000
##CC4BA11.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#566FA4
Deuteranopia (green-blind)
#7C859E
Tritanopia (blue-blind)
#D84B6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4ba1;
/* rgb */ color: rgb(204, 75, 161);
/* oklch */ color: oklch(61.4% 0.187 343.2);
Tailwind
colors: {
  custom: {
    50: '#df85bd',
    500: '#cc4ba1',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ba1;
$custom-light: #df85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ba1",
  "rgb": {
    "r": 204,
    "g": 75,
    "b": 161
  },
  "hsl": {
    "h": 320,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61373,
    "c": 0.18737,
    "h": 343.2
  },
  "luminance": 0.20443
}

Semantic roles & 50–950 ramp

primary
#CC4BA1
secondary
#9ED5B0
accent
#DF7B49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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