#CC37A1#CC37A1

#CC37A1 is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.4% C 0.212 H 342.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CC37A1
RGBrgb(204, 55, 161)
HSLhsl(317, 59%, 51%)
HSVhsv(317, 73%, 80%)
CMYKcmyk(0%, 73%, 21.1%, 20%)
CIE-LABlab(49.67, 67.29, -24.41)
CIE-LCHlch(49.67, 71.58, 340.06°)
OKLaboklab(59.43% 0.202 -0.0655)
OKLCHoklch(59.43% 0.212 342)
XYZxyz(32.7021, 18.1463, 35.4917)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37A1 #37CC62
analogous
#AC37CC #CC37A1 #CC3756
triadic
#CC37A1 #A1CC37 #37A1CC
tetradic
#CC37A1 #CCAC37 #37CC62 #3756CC
square
#CC37A1 #CCAC37 #37CC62 #3756CC
split-complementary
#CC37A1 #56CC37 #37CCAC
monochromatic
#6D1C55 #9E287C #CC37A1 #D868B8 #E599CF

Accessibility & contrast

On white

4.54
#CC37A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#CC37A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37A1
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37A1#FFFFFF#000000##000000
##CC37A11.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4567A4
Deuteranopia (green-blind)
#747F9E
Tritanopia (blue-blind)
#D93968
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc37a1;
/* rgb */ color: rgb(204, 55, 161);
/* oklch */ color: oklch(59.4% 0.212 342.0);
Tailwind
colors: {
  custom: {
    50: '#e07cbd',
    500: '#cc37a1',
    950: '#000000',
  },
}
SCSS
$custom: #cc37a1;
$custom-light: #e07cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37a1",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 161
  },
  "hsl": {
    "h": 317.315,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59427,
    "c": 0.21236,
    "h": 342
  },
  "luminance": 0.18143
}

Semantic roles & 50–950 ramp

primary
#CC37A1
secondary
#8ED0A1
accent
#E37345
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CC37A1

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

Preview Lab → · Contrast checker → · Palette generator →

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