#CC37BB#CC37BB

#CC37BB is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.7% C 0.230 H 333.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CC37BB
RGBrgb(204, 55, 187)
HSLhsl(307, 59%, 51%)
HSVhsv(307, 73%, 80%)
CMYKcmyk(0%, 73%, 8.3%, 20%)
CIE-LABlab(50.87, 70.94, -37.80)
CIE-LCHlch(50.87, 80.38, 331.95°)
OKLaboklab(60.69% 0.2049 -0.1037)
OKLCHoklch(60.69% 0.23 333.1)
XYZxyz(35.2379, 19.1606, 48.8465)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37BB #37CC48
analogous
#9337CC #CC37BB #CC3770
triadic
#CC37BB #BBCC37 #37BBCC
tetradic
#CC37BB #CC9337 #37CC48 #3770CC
square
#CC37BB #CC9337 #37CC48 #3770CC
split-complementary
#CC37BB #70CC37 #37CC93
monochromatic
#6D1C64 #9E2890 #CC37BB #D868CC #E599DC

Accessibility & contrast

On white

4.35
#CC37BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CC37BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37BB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37BB#FFFFFF#000000##000000
##CC37BB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#316BBF
Deuteranopia (green-blind)
#6981B7
Tritanopia (blue-blind)
#D54676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc37bb;
/* rgb */ color: rgb(204, 55, 187);
/* oklch */ color: oklch(60.7% 0.230 333.1);
Tailwind
colors: {
  custom: {
    50: '#e07cd0',
    500: '#cc37bb',
    950: '#000000',
  },
}
SCSS
$custom: #cc37bb;
$custom-light: #e07cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37bb",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 306.846,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60686,
    "c": 0.22962,
    "h": 333.1
  },
  "luminance": 0.19158
}

Semantic roles & 50–950 ramp

primary
#CC37BB
secondary
#8ED096
accent
#E35745
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CC37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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