#CC37A7#CC37A7

#CC37A7 is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 59.7% C 0.216 H 339.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CC37A7
RGBrgb(204, 55, 167)
HSLhsl(315, 59%, 51%)
HSVhsv(315, 73%, 80%)
CMYKcmyk(0%, 73%, 18.1%, 20%)
CIE-LABlab(49.93, 68.09, -27.56)
CIE-LCHlch(49.93, 73.46, 337.97°)
OKLaboklab(59.7% 0.2029 -0.0744)
OKLCHoklch(59.7% 0.216 339.9)
XYZxyz(33.2440, 18.3630, 38.3453)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37A7 #37CC5C
analogous
#A637CC #CC37A7 #CC375C
triadic
#CC37A7 #A7CC37 #37A7CC
tetradic
#CC37A7 #CCA637 #37CC5C #375CCC
square
#CC37A7 #CCA637 #37CC5C #375CCC
split-complementary
#CC37A7 #5CCC37 #37CCA6
monochromatic
#6D1C59 #9E2880 #CC37A7 #D868BC #E599D2

Accessibility & contrast

On white

4.49
#CC37A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#CC37A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37A7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37A7#FFFFFF#000000##000000
##CC37A71.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4168AA
Deuteranopia (green-blind)
#717FA4
Tritanopia (blue-blind)
#D83C6B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc37a7;
/* rgb */ color: rgb(204, 55, 167);
/* oklch */ color: oklch(59.7% 0.216 339.9);
Tailwind
colors: {
  custom: {
    50: '#e07cc1',
    500: '#cc37a7',
    950: '#000000',
  },
}
SCSS
$custom: #cc37a7;
$custom-light: #e07cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37a7",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 314.899,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59701,
    "c": 0.21612,
    "h": 339.9
  },
  "luminance": 0.1836
}

Semantic roles & 50–950 ramp

primary
#CC37A7
secondary
#8ED09F
accent
#E36C45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC37A7

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

Preview Lab → · Contrast checker → · Palette generator →

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