#CC3A9D#CC3A9D

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

Color values

HEX#CC3A9D
RGBrgb(204, 58, 157)
HSLhsl(319, 59%, 51%)
HSVhsv(319, 72%, 80%)
CMYKcmyk(0%, 71.6%, 23%, 20%)
CIE-LABlab(49.86, 65.77, -21.75)
CIE-LCHlch(49.86, 69.27, 341.70°)
OKLaboklab(59.51% 0.1982 -0.0581)
OKLCHoklch(59.51% 0.207 343.7)
XYZxyz(32.5019, 18.3012, 33.7125)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A9D #3ACC69
analogous
#B23ACC #CC3A9D #CC3A54
triadic
#CC3A9D #9DCC3A #3A9DCC
tetradic
#CC3A9D #CCB23A #3ACC69 #3A54CC
square
#CC3A9D #CCB23A #3ACC69 #3A54CC
split-complementary
#CC3A9D #54CC3A #3ACCB2
monochromatic
#6F1D54 #A02979 #CC3A9D #D96BB5 #E59BCD

Accessibility & contrast

On white

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

On black

4.66
#CC3A9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3A9D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A9D#FFFFFF#000000##000000
##CC3A9D1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4967A0
Deuteranopia (green-blind)
#767F9A
Tritanopia (blue-blind)
#D93A67
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc3a9d;
/* rgb */ color: rgb(204, 58, 157);
/* oklch */ color: oklch(59.5% 0.207 343.7);
Tailwind
colors: {
  custom: {
    50: '#e07dba',
    500: '#cc3a9d',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a9d;
$custom-light: #e07dba;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a9d",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 157
  },
  "hsl": {
    "h": 319.315,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59508,
    "c": 0.20657,
    "h": 343.7
  },
  "luminance": 0.18298
}

Semantic roles & 50–950 ramp

primary
#CC3A9D
secondary
#91D1A5
accent
#E27846
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC3A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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