#CC37B1#CC37B1

#CC37B1 is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.2% C 0.223 H 336.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CC37B1
RGBrgb(204, 55, 177)
HSLhsl(311, 59%, 51%)
HSVhsv(311, 73%, 80%)
CMYKcmyk(0%, 73%, 13.2%, 20%)
CIE-LABlab(50.39, 69.48, -32.73)
CIE-LCHlch(50.39, 76.80, 334.78°)
OKLaboklab(60.18% 0.2041 -0.0891)
OKLCHoklch(60.18% 0.223 336.4)
XYZxyz(34.2044, 18.7472, 43.4036)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37B1 #37CC52
analogous
#9C37CC #CC37B1 #CC3767
triadic
#CC37B1 #B1CC37 #37B1CC
tetradic
#CC37B1 #CC9C37 #37CC52 #3767CC
square
#CC37B1 #CC9C37 #37CC52 #3767CC
split-complementary
#CC37B1 #67CC37 #37CC9C
monochromatic
#6D1C5E #9E2888 #CC37B1 #D868C4 #E599D7

Accessibility & contrast

On white

4.42
#CC37B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CC37B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37B1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37B1#FFFFFF#000000##000000
##CC37B11.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB4
Deuteranopia (green-blind)
#6E80AD
Tritanopia (blue-blind)
#D74170
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc37b1;
/* rgb */ color: rgb(204, 55, 177);
/* oklch */ color: oklch(60.2% 0.223 336.4);
Tailwind
colors: {
  custom: {
    50: '#e07cc8',
    500: '#cc37b1',
    950: '#000000',
  },
}
SCSS
$custom: #cc37b1;
$custom-light: #e07cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37b1",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 310.872,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.6018,
    "c": 0.2227,
    "h": 336.4
  },
  "luminance": 0.18744
}

Semantic roles & 50–950 ramp

primary
#CC37B1
secondary
#8ED09A
accent
#E36245
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC37B1

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

Preview Lab → · Contrast checker → · Palette generator →

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