#CC3A9A#CC3A9A

#CC3A9A is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.4% C 0.205 H 344.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CC3A9A
RGBrgb(204, 58, 154)
HSLhsl(321, 59%, 51%)
HSVhsv(321, 72%, 80%)
CMYKcmyk(0%, 71.6%, 24.5%, 20%)
CIE-LABlab(49.74, 65.38, -20.16)
CIE-LCHlch(49.74, 68.42, 342.87°)
OKLaboklab(59.38% 0.1977 -0.0536)
OKLCHoklch(59.38% 0.205 344.8)
XYZxyz(32.2489, 18.2000, 32.3802)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A9A #3ACC6C
analogous
#B53ACC #CC3A9A #CC3A51
triadic
#CC3A9A #9ACC3A #3A9ACC
tetradic
#CC3A9A #CCB53A #3ACC6C #3A51CC
square
#CC3A9A #CCB53A #3ACC6C #3A51CC
split-complementary
#CC3A9A #51CC3A #3ACCB5
monochromatic
#6F1D53 #A02977 #CC3A9A #D96BB3 #E59BCC

Accessibility & contrast

On white

4.53
#CC3A9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CC3A9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3A9A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A9A#FFFFFF#000000##000000
##CC3A9A1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B679D
Deuteranopia (green-blind)
#777F97
Tritanopia (blue-blind)
#D93865
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc3a9a;
/* rgb */ color: rgb(204, 58, 154);
/* oklch */ color: oklch(59.4% 0.205 344.8);
Tailwind
colors: {
  custom: {
    50: '#e07db8',
    500: '#cc3a9a',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a9a;
$custom-light: #e07db8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a9a",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 154
  },
  "hsl": {
    "h": 320.548,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5938,
    "c": 0.2048,
    "h": 344.8
  },
  "luminance": 0.18197
}

Semantic roles & 50–950 ramp

primary
#CC3A9A
secondary
#91D1A7
accent
#E27B46
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC3A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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