#CC3BAA#CC3BAA

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

Color values

HEX#CC3BAA
RGBrgb(204, 59, 170)
HSLhsl(314, 59%, 52%)
HSVhsv(314, 71%, 80%)
CMYKcmyk(0%, 71.1%, 16.7%, 20%)
CIE-LABlab(50.54, 67.18, -28.39)
CIE-LCHlch(50.54, 72.93, 337.09°)
OKLaboklab(60.18% 0.1993 -0.0768)
OKLCHoklch(60.18% 0.214 338.9)
XYZxyz(33.7223, 18.8708, 39.8888)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3BAA #3BCC5D
analogous
#A63BCC #CC3BAA #CC3B62
triadic
#CC3BAA #AACC3B #3BAACC
tetradic
#CC3BAA #CCA63B #3BCC5D #3B62CC
square
#CC3BAA #CCA63B #3BCC5D #3B62CC
split-complementary
#CC3BAA #62CC3B #3BCCA6
monochromatic
#701D5C #A02A84 #CC3BAA #D96CBF #E59CD4

Accessibility & contrast

On white

4.40
#CC3BAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CC3BAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3BAA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3BAA#FFFFFF#000000##000000
##CC3BAA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#436AAD
Deuteranopia (green-blind)
#7280A7
Tritanopia (blue-blind)
#D7416E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc3baa;
/* rgb */ color: rgb(204, 59, 170);
/* oklch */ color: oklch(60.2% 0.214 338.9);
Tailwind
colors: {
  custom: {
    50: '#df7ec3',
    500: '#cc3baa',
    950: '#000000',
  },
}
SCSS
$custom: #cc3baa;
$custom-light: #df7ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3baa",
  "rgb": {
    "r": 204,
    "g": 59,
    "b": 170
  },
  "hsl": {
    "h": 314.069,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60181,
    "c": 0.21359,
    "h": 338.9
  },
  "luminance": 0.18868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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