#CC3A9E#CC3A9E

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

Color values

HEX#CC3A9E
RGBrgb(204, 58, 158)
HSLhsl(319, 59%, 51%)
HSVhsv(319, 72%, 80%)
CMYKcmyk(0%, 71.6%, 22.5%, 20%)
CIE-LABlab(49.90, 65.90, -22.28)
CIE-LCHlch(49.90, 69.56, 341.32°)
OKLaboklab(59.55% 0.1984 -0.0596)
OKLCHoklch(59.55% 0.207 343.3)
XYZxyz(32.5876, 18.3354, 34.1640)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A9E #3ACC68
analogous
#B13ACC #CC3A9E #CC3A55
triadic
#CC3A9E #9ECC3A #3A9ECC
tetradic
#CC3A9E #CCB13A #3ACC68 #3A55CC
square
#CC3A9E #CCB13A #3ACC68 #3A55CC
split-complementary
#CC3A9E #55CC3A #3ACCB1
monochromatic
#6F1D55 #A0297A #CC3A9E #D96BB6 #E59BCE

Accessibility & contrast

On white

4.50
#CC3A9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#CC3A9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3A9E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A9E#FFFFFF#000000##000000
##CC3A9E1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc3a9e;
/* rgb */ color: rgb(204, 58, 158);
/* oklch */ color: oklch(59.6% 0.207 343.3);
Tailwind
colors: {
  custom: {
    50: '#e07dbb',
    500: '#cc3a9e',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a9e;
$custom-light: #e07dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a9e",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 158
  },
  "hsl": {
    "h": 318.904,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59551,
    "c": 0.20717,
    "h": 343.3
  },
  "luminance": 0.18332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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