#CC37B2#CC37B2

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

Color values

HEX#CC37B2
RGBrgb(204, 55, 178)
HSLhsl(310, 59%, 51%)
HSVhsv(310, 73%, 80%)
CMYKcmyk(0%, 73%, 12.7%, 20%)
CIE-LABlab(50.44, 69.62, -33.24)
CIE-LCHlch(50.44, 77.15, 334.48°)
OKLaboklab(60.23% 0.2042 -0.0906)
OKLCHoklch(60.23% 0.223 336.1)
XYZxyz(34.3044, 18.7872, 43.9305)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37B2 #37CC51
analogous
#9C37CC #CC37B2 #CC3767
triadic
#CC37B2 #B2CC37 #37B2CC
tetradic
#CC37B2 #CC9C37 #37CC51 #3767CC
square
#CC37B2 #CC9C37 #37CC51 #3767CC
split-complementary
#CC37B2 #67CC37 #37CC9C
monochromatic
#6D1C5F #9E2889 #CC37B2 #D868C5 #E599D8

Accessibility & contrast

On white

4.41
#CC37B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CC37B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37B2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37B2#FFFFFF#000000##000000
##CC37B21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#6D80AE
Tritanopia (blue-blind)
#D64271
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc37b2;
/* rgb */ color: rgb(204, 55, 178);
/* oklch */ color: oklch(60.2% 0.223 336.1);
Tailwind
colors: {
  custom: {
    50: '#e07cc9',
    500: '#cc37b2',
    950: '#000000',
  },
}
SCSS
$custom: #cc37b2;
$custom-light: #e07cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37b2",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 310.47,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60229,
    "c": 0.22339,
    "h": 336.1
  },
  "luminance": 0.18784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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