#CC3AB1#CC3AB1

#CC3AB1 is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.4% C 0.219 H 336.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CC3AB1
RGBrgb(204, 58, 177)
HSLhsl(311, 59%, 51%)
HSVhsv(311, 72%, 80%)
CMYKcmyk(0%, 71.6%, 13.2%, 20%)
CIE-LABlab(50.73, 68.50, -32.19)
CIE-LCHlch(50.73, 75.69, 334.83°)
OKLaboklab(60.43% 0.2012 -0.0876)
OKLCHoklch(60.43% 0.219 336.5)
XYZxyz(34.3513, 19.0409, 43.4526)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3AB1 #3ACC55
analogous
#9E3ACC #CC3AB1 #CC3A68
triadic
#CC3AB1 #B1CC3A #3AB1CC
tetradic
#CC3AB1 #CC9E3A #3ACC55 #3A68CC
square
#CC3AB1 #CC9E3A #3ACC55 #3A68CC
split-complementary
#CC3AB1 #68CC3A #3ACC9E
monochromatic
#6F1D60 #A0298A #CC3AB1 #D96BC4 #E59BD7

Accessibility & contrast

On white

4.37
#CC3AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CC3AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3AB1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3AB1#FFFFFF#000000##000000
##CC3AB11.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB4
Deuteranopia (green-blind)
#6F81AE
Tritanopia (blue-blind)
#D74371
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc3ab1;
/* rgb */ color: rgb(204, 58, 177);
/* oklch */ color: oklch(60.4% 0.219 336.5);
Tailwind
colors: {
  custom: {
    50: '#df7dc8',
    500: '#cc3ab1',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ab1;
$custom-light: #df7dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ab1",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 311.096,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60429,
    "c": 0.21943,
    "h": 336.5
  },
  "luminance": 0.19038
}

Semantic roles & 50–950 ramp

primary
#CC3AB1
secondary
#91D19D
accent
#E26346
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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