#CC37A2#CC37A2

#CC37A2 is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.5% C 0.213 H 341.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CC37A2
RGBrgb(204, 55, 162)
HSLhsl(317, 59%, 51%)
HSVhsv(317, 73%, 80%)
CMYKcmyk(0%, 73%, 20.6%, 20%)
CIE-LABlab(49.72, 67.42, -24.94)
CIE-LCHlch(49.72, 71.88, 339.70°)
OKLaboklab(59.47% 0.2022 -0.067)
OKLCHoklch(59.47% 0.213 341.7)
XYZxyz(32.7907, 18.1817, 35.9579)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37A2 #37CC61
analogous
#AC37CC #CC37A2 #CC3757
triadic
#CC37A2 #A2CC37 #37A2CC
tetradic
#CC37A2 #CCAC37 #37CC61 #3757CC
square
#CC37A2 #CCAC37 #37CC61 #3757CC
split-complementary
#CC37A2 #57CC37 #37CCAC
monochromatic
#6D1C56 #9E287D #CC37A2 #D868B9 #E599CF

Accessibility & contrast

On white

4.53
#CC37A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CC37A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37A2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37A2#FFFFFF#000000##000000
##CC37A21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4467A5
Deuteranopia (green-blind)
#737F9F
Tritanopia (blue-blind)
#D93968
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc37a2;
/* rgb */ color: rgb(204, 55, 162);
/* oklch */ color: oklch(59.5% 0.213 341.7);
Tailwind
colors: {
  custom: {
    50: '#e07cbd',
    500: '#cc37a2',
    950: '#000000',
  },
}
SCSS
$custom: #cc37a2;
$custom-light: #e07cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37a2",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 316.913,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59472,
    "c": 0.21297,
    "h": 341.7
  },
  "luminance": 0.18178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC37A2

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

Preview Lab → · Contrast checker → · Palette generator →

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