#CC4BAB#CC4BAB

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

Color values

HEX#CC4BAB
RGBrgb(204, 75, 171)
HSLhsl(315, 56%, 55%)
HSVhsv(315, 63%, 80%)
CMYKcmyk(0%, 63.2%, 16.2%, 20%)
CIE-LABlab(52.74, 61.28, -25.55)
CIE-LCHlch(52.74, 66.40, 337.36°)
OKLaboklab(61.8% 0.1813 -0.0689)
OKLCHoklch(61.8% 0.194 339.2)
XYZxyz(34.7693, 20.8128, 40.7063)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4BAB #4BCC6C
analogous
#AD4BCC #CC4BAB #CC4B6B
triadic
#CC4BAB #ABCC4B #4BABCC
tetradic
#CC4BAB #CCAD4B #4BCC6C #4B6BCC
square
#CC4BAB #CCAD4B #4BCC6C #4B6BCC
split-complementary
#CC4BAB #6BCC4B #4BCCAD
monochromatic
#7A2364 #AA308B #CC4BAB #DA7BC1 #E7AAD8

Accessibility & contrast

On white

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

On black

5.16
#CC4BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4BAB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4BAB#FFFFFF#000000##000000
##CC4BAB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5171AE
Deuteranopia (green-blind)
#7985A8
Tritanopia (blue-blind)
#D74F74
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4bab;
/* rgb */ color: rgb(204, 75, 171);
/* oklch */ color: oklch(61.8% 0.194 339.2);
Tailwind
colors: {
  custom: {
    50: '#df85c4',
    500: '#cc4bab',
    950: '#000000',
  },
}
SCSS
$custom: #cc4bab;
$custom-light: #df85c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4bab",
  "rgb": {
    "r": 204,
    "g": 75,
    "b": 171
  },
  "hsl": {
    "h": 315.349,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61804,
    "c": 0.194,
    "h": 339.2
  },
  "luminance": 0.2081
}

Semantic roles & 50–950 ramp

primary
#CC4BAB
secondary
#9ED5AC
accent
#DF6F49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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