#CC3997#CC3997

#CC3997 is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.2% C 0.204 H 345.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CC3997
RGBrgb(204, 57, 151)
HSLhsl(322, 59%, 51%)
HSVhsv(322, 72%, 80%)
CMYKcmyk(0%, 72.1%, 26%, 20%)
CIE-LABlab(49.50, 65.34, -18.74)
CIE-LCHlch(49.50, 67.98, 344.00°)
OKLaboklab(59.17% 0.1981 -0.0497)
OKLCHoklch(59.17% 0.204 345.9)
XYZxyz(31.9523, 18.0014, 31.0641)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3997 #39CC6E
analogous
#B839CC #CC3997 #CC394D
triadic
#CC3997 #97CC39 #3997CC
tetradic
#CC3997 #CCB839 #39CC6E #394DCC
square
#CC3997 #CCB839 #39CC6E #394DCC
split-complementary
#CC3997 #4DCC39 #39CCB8
monochromatic
#6E1C51 #9F2974 #CC3997 #D96AB1 #E59ACA

Accessibility & contrast

On white

4.57
#CC3997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CC3997 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3997
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3997#FFFFFF#000000##000000
##CC39971.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C669A
Deuteranopia (green-blind)
#787F94
Tritanopia (blue-blind)
#DA3663
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc3997;
/* rgb */ color: rgb(204, 57, 151);
/* oklch */ color: oklch(59.2% 0.204 345.9);
Tailwind
colors: {
  custom: {
    50: '#e07cb5',
    500: '#cc3997',
    950: '#000000',
  },
}
SCSS
$custom: #cc3997;
$custom-light: #e07cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3997",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 151
  },
  "hsl": {
    "h": 321.633,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59166,
    "c": 0.20422,
    "h": 345.9
  },
  "luminance": 0.17998
}

Semantic roles & 50–950 ramp

primary
#CC3997
secondary
#90D1A7
accent
#E27E46
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC3997

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

Preview Lab → · Contrast checker → · Palette generator →

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