#CC3A9B#CC3A9B

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

Color values

HEX#CC3A9B
RGBrgb(204, 58, 155)
HSLhsl(320, 59%, 51%)
HSVhsv(320, 72%, 80%)
CMYKcmyk(0%, 71.6%, 24%, 20%)
CIE-LABlab(49.78, 65.51, -20.69)
CIE-LCHlch(49.78, 68.70, 342.47°)
OKLaboklab(59.42% 0.1979 -0.0551)
OKLCHoklch(59.42% 0.205 344.4)
XYZxyz(32.3325, 18.2334, 32.8206)
Luminance0.1823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A9B #3ACC6B
analogous
#B43ACC #CC3A9B #CC3A52
triadic
#CC3A9B #9BCC3A #3A9BCC
tetradic
#CC3A9B #CCB43A #3ACC6B #3A52CC
square
#CC3A9B #CCB43A #3ACC6B #3A52CC
split-complementary
#CC3A9B #52CC3A #3ACCB4
monochromatic
#6F1D53 #A02978 #CC3A9B #D96BB4 #E59BCC

Accessibility & contrast

On white

4.52
#CC3A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC3A9B#FFFFFF#000000##000000
##CC3A9B1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A679E
Deuteranopia (green-blind)
#777F98
Tritanopia (blue-blind)
#D93966
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc3a9b;
/* rgb */ color: rgb(204, 58, 155);
/* oklch */ color: oklch(59.4% 0.205 344.4);
Tailwind
colors: {
  custom: {
    50: '#e07db8',
    500: '#cc3a9b',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a9b;
$custom-light: #e07db8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a9b",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 155
  },
  "hsl": {
    "h": 320.137,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59422,
    "c": 0.20538,
    "h": 344.4
  },
  "luminance": 0.1823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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