#CC3A9F#CC3A9F

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

Color values

HEX#CC3A9F
RGBrgb(204, 58, 159)
HSLhsl(318, 59%, 51%)
HSVhsv(318, 72%, 80%)
CMYKcmyk(0%, 71.6%, 22.1%, 20%)
CIE-LABlab(49.94, 66.03, -22.81)
CIE-LCHlch(49.94, 69.86, 340.94°)
OKLaboklab(59.6% 0.1986 -0.0611)
OKLCHoklch(59.6% 0.208 342.9)
XYZxyz(32.6740, 18.3700, 34.6192)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A9F #3ACC67
analogous
#B03ACC #CC3A9F #CC3A56
triadic
#CC3A9F #9FCC3A #3A9FCC
tetradic
#CC3A9F #CCB03A #3ACC67 #3A56CC
square
#CC3A9F #CCB03A #3ACC67 #3A56CC
split-complementary
#CC3A9F #56CC3A #3ACCB0
monochromatic
#6F1D56 #A0297B #CC3A9F #D96BB7 #E59BCE

Accessibility & contrast

On white

4.49
#CC3A9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC3A9F#FFFFFF#000000##000000
##CC3A9F1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4867A2
Deuteranopia (green-blind)
#757F9C
Tritanopia (blue-blind)
#D93B68
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc3a9f;
/* rgb */ color: rgb(204, 58, 159);
/* oklch */ color: oklch(59.6% 0.208 342.9);
Tailwind
colors: {
  custom: {
    50: '#e07dbb',
    500: '#cc3a9f',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a9f;
$custom-light: #e07dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a9f",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 159
  },
  "hsl": {
    "h": 318.493,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59595,
    "c": 0.20778,
    "h": 342.9
  },
  "luminance": 0.18367
}

Semantic roles & 50–950 ramp

primary
#CC3A9F
secondary
#91D1A5
accent
#E27646
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC3A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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