#CC3AAB#CC3AAB

#CC3AAB is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.1% C 0.215 H 338.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CC3AAB
RGBrgb(204, 58, 171)
HSLhsl(314, 59%, 51%)
HSVhsv(314, 72%, 80%)
CMYKcmyk(0%, 71.6%, 16.2%, 20%)
CIE-LABlab(50.46, 67.65, -29.10)
CIE-LCHlch(50.46, 73.64, 336.73°)
OKLaboklab(60.14% 0.2005 -0.0788)
OKLCHoklch(60.14% 0.215 338.5)
XYZxyz(33.7663, 18.8069, 40.3720)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3AAB #3ACC5B
analogous
#A43ACC #CC3AAB #CC3A62
triadic
#CC3AAB #ABCC3A #3AABCC
tetradic
#CC3AAB #CCA43A #3ACC5B #3A62CC
square
#CC3AAB #CCA43A #3ACC5B #3A62CC
split-complementary
#CC3AAB #62CC3A #3ACCA4
monochromatic
#6F1D5C #A02985 #CC3AAB #D96BC0 #E59BD4

Accessibility & contrast

On white

4.41
#CC3AAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CC3AAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3AAB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3AAB#FFFFFF#000000##000000
##CC3AAB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc3aab;
/* rgb */ color: rgb(204, 58, 171);
/* oklch */ color: oklch(60.1% 0.215 338.5);
Tailwind
colors: {
  custom: {
    50: '#df7dc4',
    500: '#cc3aab',
    950: '#000000',
  },
}
SCSS
$custom: #cc3aab;
$custom-light: #df7dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3aab",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 313.562,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60141,
    "c": 0.2154,
    "h": 338.5
  },
  "luminance": 0.18804
}

Semantic roles & 50–950 ramp

primary
#CC3AAB
secondary
#91D19F
accent
#E26946
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC3AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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