#CC3199#CC3199

#CC3199 is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.6% C 0.214 H 344.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CC3199
RGBrgb(204, 49, 153)
HSLhsl(320, 61%, 50%)
HSVhsv(320, 76%, 80%)
CMYKcmyk(0%, 76%, 25%, 20%)
CIE-LABlab(48.68, 68.13, -21.18)
CIE-LCHlch(48.68, 71.35, 342.73°)
OKLaboklab(58.6% 0.2063 -0.0564)
OKLCHoklch(58.6% 0.214 344.7)
XYZxyz(31.7513, 17.3374, 31.8051)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3199 #31CC64
analogous
#B231CC #CC3199 #CC314B
triadic
#CC3199 #99CC31 #3199CC
tetradic
#CC3199 #CCB231 #31CC64 #314BCC
square
#CC3199 #CCB231 #31CC64 #314BCC
split-complementary
#CC3199 #4BCC31 #31CCB2
monochromatic
#69194F #9B2574 #CC3199 #D961B2 #E592CA

Accessibility & contrast

On white

4.70
#CC3199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CC3199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3199
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3199#FFFFFF#000000##FFFFFF
##CC31991.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45639C
Deuteranopia (green-blind)
#747D96
Tritanopia (blue-blind)
#DA2F62
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc3199;
/* rgb */ color: rgb(204, 49, 153);
/* oklch */ color: oklch(58.6% 0.214 344.7);
Tailwind
colors: {
  custom: {
    50: '#e079b7',
    500: '#cc3199',
    950: '#000000',
  },
}
SCSS
$custom: #cc3199;
$custom-light: #e079b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3199",
  "rgb": {
    "r": 204,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 319.742,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58599,
    "c": 0.21391,
    "h": 344.7
  },
  "luminance": 0.17334
}

Semantic roles & 50–950 ramp

primary
#CC3199
secondary
#89D0A0
accent
#E47843
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CC3199

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

Preview Lab → · Contrast checker → · Palette generator →

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