#CC3BAB#CC3BAB

#CC3BAB is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.2% C 0.214 H 338.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CC3BAB
RGBrgb(204, 59, 171)
HSLhsl(314, 59%, 52%)
HSVhsv(314, 71%, 80%)
CMYKcmyk(0%, 71.1%, 16.2%, 20%)
CIE-LABlab(50.58, 67.32, -28.91)
CIE-LCHlch(50.58, 73.26, 336.76°)
OKLaboklab(60.23% 0.1994 -0.0783)
OKLCHoklch(60.23% 0.214 338.6)
XYZxyz(33.8172, 18.9087, 40.3889)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3BAB #3BCC5C
analogous
#A53BCC #CC3BAB #CC3B63
triadic
#CC3BAB #ABCC3B #3BABCC
tetradic
#CC3BAB #CCA53B #3BCC5C #3B63CC
square
#CC3BAB #CCA53B #3BCC5C #3B63CC
split-complementary
#CC3BAB #63CC3B #3BCCA5
monochromatic
#701D5D #A02A85 #CC3BAB #D96CC0 #E59CD5

Accessibility & contrast

On white

4.39
#CC3BAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CC3BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3BAB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3BAB#FFFFFF#000000##000000
##CC3BAB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#7181A8
Tritanopia (blue-blind)
#D7416E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc3bab;
/* rgb */ color: rgb(204, 59, 171);
/* oklch */ color: oklch(60.2% 0.214 338.6);
Tailwind
colors: {
  custom: {
    50: '#df7ec4',
    500: '#cc3bab',
    950: '#000000',
  },
}
SCSS
$custom: #cc3bab;
$custom-light: #df7ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3bab",
  "rgb": {
    "r": 204,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 313.655,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60228,
    "c": 0.21426,
    "h": 338.6
  },
  "luminance": 0.18906
}

Semantic roles & 50–950 ramp

primary
#CC3BAB
secondary
#92D1A0
accent
#E26946
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC3BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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