#CC37B3#CC37B3

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

Color values

HEX#CC37B3
RGBrgb(204, 55, 179)
HSLhsl(310, 59%, 51%)
HSVhsv(310, 73%, 80%)
CMYKcmyk(0%, 73%, 12.3%, 20%)
CIE-LABlab(50.48, 69.77, -33.75)
CIE-LCHlch(50.48, 77.50, 334.19°)
OKLaboklab(60.28% 0.2043 -0.0921)
OKLCHoklch(60.28% 0.224 335.7)
XYZxyz(34.4052, 18.8275, 44.4612)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37B3 #37CC50
analogous
#9A37CC #CC37B3 #CC3768
triadic
#CC37B3 #B3CC37 #37B3CC
tetradic
#CC37B3 #CC9A37 #37CC50 #3768CC
square
#CC37B3 #CC9A37 #37CC50 #3768CC
split-complementary
#CC37B3 #68CC37 #37CC9A
monochromatic
#6D1C5F #9E288A #CC37B3 #D868C6 #E599D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC37B3#FFFFFF#000000##000000
##CC37B31.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)
#386AB6
Deuteranopia (green-blind)
#6D80AF
Tritanopia (blue-blind)
#D64271
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc37b3;
/* rgb */ color: rgb(204, 55, 179);
/* oklch */ color: oklch(60.3% 0.224 335.7);
Tailwind
colors: {
  custom: {
    50: '#e07cca',
    500: '#cc37b3',
    950: '#000000',
  },
}
SCSS
$custom: #cc37b3;
$custom-light: #e07cca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37b3",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 310.067,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60279,
    "c": 0.22406,
    "h": 335.7
  },
  "luminance": 0.18824
}

Semantic roles & 50–950 ramp

primary
#CC37B3
secondary
#8ED099
accent
#E36045
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC37B3

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

Preview Lab → · Contrast checker → · Palette generator →

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