#CC37AC#CC37AC

#CC37AC is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 59.9% C 0.219 H 338.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CC37AC
RGBrgb(204, 55, 172)
HSLhsl(313, 59%, 51%)
HSVhsv(313, 73%, 80%)
CMYKcmyk(0%, 73%, 15.7%, 20%)
CIE-LABlab(50.16, 68.78, -30.15)
CIE-LCHlch(50.16, 75.10, 336.33°)
OKLaboklab(59.94% 0.2035 -0.0818)
OKLCHoklch(59.94% 0.219 338.1)
XYZxyz(33.7152, 18.5515, 40.8269)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37AC #37CC57
analogous
#A137CC #CC37AC #CC3761
triadic
#CC37AC #ACCC37 #37ACCC
tetradic
#CC37AC #CCA137 #37CC57 #3761CC
square
#CC37AC #CCA137 #37CC57 #3761CC
split-complementary
#CC37AC #61CC37 #37CCA1
monochromatic
#6D1C5B #9E2884 #CC37AC #D868C0 #E599D4

Accessibility & contrast

On white

4.46
#CC37AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CC37AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37AC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37AC#FFFFFF#000000##000000
##CC37AC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E69AF
Deuteranopia (green-blind)
#7080A9
Tritanopia (blue-blind)
#D73F6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc37ac;
/* rgb */ color: rgb(204, 55, 172);
/* oklch */ color: oklch(59.9% 0.219 338.1);
Tailwind
colors: {
  custom: {
    50: '#e07cc5',
    500: '#cc37ac',
    950: '#000000',
  },
}
SCSS
$custom: #cc37ac;
$custom-light: #e07cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37ac",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 312.886,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59937,
    "c": 0.21937,
    "h": 338.1
  },
  "luminance": 0.18548
}

Semantic roles & 50–950 ramp

primary
#CC37AC
secondary
#8ED09D
accent
#E36745
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC37AC

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

Preview Lab → · Contrast checker → · Palette generator →

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