#CC3F97#CC3F97

#CC3F97 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.7% C 0.197 H 346.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CC3F97
RGBrgb(204, 63, 151)
HSLhsl(323, 58%, 52%)
HSVhsv(323, 69%, 80%)
CMYKcmyk(0%, 69.1%, 26%, 20%)
CIE-LABlab(50.25, 63.23, -17.58)
CIE-LCHlch(50.25, 65.63, 344.46°)
OKLaboklab(59.72% 0.1916 -0.0465)
OKLCHoklch(59.72% 0.197 346.3)
XYZxyz(32.2666, 18.6301, 31.1689)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3F97 #3FCC74
analogous
#BA3FCC #CC3F97 #CC3F51
triadic
#CC3F97 #97CC3F #3F97CC
tetradic
#CC3F97 #CCBA3F #3FCC74 #3F51CC
square
#CC3F97 #CCBA3F #3FCC74 #3F51CC
split-complementary
#CC3F97 #51CC3F #3FCCBA
monochromatic
#721E53 #A32B76 #CC3F97 #D96FB1 #E6A0CB

Accessibility & contrast

On white

4.44
#CC3F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CC3F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3F97
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3F97#FFFFFF#000000##000000
##CC3F971.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#506899
Deuteranopia (green-blind)
#7A8094
Tritanopia (blue-blind)
#DA3C65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc3f97;
/* rgb */ color: rgb(204, 63, 151);
/* oklch */ color: oklch(59.7% 0.197 346.3);
Tailwind
colors: {
  custom: {
    50: '#e07fb5',
    500: '#cc3f97',
    950: '#000000',
  },
}
SCSS
$custom: #cc3f97;
$custom-light: #e07fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3f97",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 322.553,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.19713,
    "h": 346.3
  },
  "luminance": 0.18627
}

Semantic roles & 50–950 ramp

primary
#CC3F97
secondary
#95D2AC
accent
#E18147
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC3F97

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

Preview Lab → · Contrast checker → · Palette generator →

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