#CC3A9C#CC3A9C

#CC3A9C is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.5% C 0.206 H 344.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CC3A9C
RGBrgb(204, 58, 156)
HSLhsl(320, 59%, 51%)
HSVhsv(320, 72%, 80%)
CMYKcmyk(0%, 71.6%, 23.5%, 20%)
CIE-LABlab(49.82, 65.64, -21.22)
CIE-LCHlch(49.82, 68.98, 342.08°)
OKLaboklab(59.47% 0.198 -0.0566)
OKLCHoklch(59.47% 0.206 344)
XYZxyz(32.4169, 18.2671, 33.2648)
Luminance0.1826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A9C #3ACC6A
analogous
#B33ACC #CC3A9C #CC3A53
triadic
#CC3A9C #9CCC3A #3A9CCC
tetradic
#CC3A9C #CCB33A #3ACC6A #3A53CC
square
#CC3A9C #CCB33A #3ACC6A #3A53CC
split-complementary
#CC3A9C #53CC3A #3ACCB3
monochromatic
#6F1D54 #A02979 #CC3A9C #D96BB4 #E59BCD

Accessibility & contrast

On white

4.51
#CC3A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CC3A9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3A9C
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A9C#FFFFFF#000000##000000
##CC3A9C1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A679F
Deuteranopia (green-blind)
#767F99
Tritanopia (blue-blind)
#D93966
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc3a9c;
/* rgb */ color: rgb(204, 58, 156);
/* oklch */ color: oklch(59.5% 0.206 344.0);
Tailwind
colors: {
  custom: {
    50: '#e07db9',
    500: '#cc3a9c',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a9c;
$custom-light: #e07db9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a9c",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 156
  },
  "hsl": {
    "h": 319.726,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59465,
    "c": 0.20597,
    "h": 344
  },
  "luminance": 0.18264
}

Semantic roles & 50–950 ramp

primary
#CC3A9C
secondary
#91D1A6
accent
#E27946
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC3A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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