#CC37B9#CC37B9

#CC37B9 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.6% C 0.228 H 333.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CC37B9
RGBrgb(204, 55, 185)
HSLhsl(308, 59%, 51%)
HSVhsv(308, 73%, 80%)
CMYKcmyk(0%, 73%, 9.3%, 20%)
CIE-LABlab(50.78, 70.64, -36.80)
CIE-LCHlch(50.78, 79.65, 332.49°)
OKLaboklab(60.58% 0.2047 -0.1008)
OKLCHoklch(60.58% 0.228 333.8)
XYZxyz(35.0253, 19.0755, 47.7268)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37B9 #37CC4A
analogous
#9437CC #CC37B9 #CC376E
triadic
#CC37B9 #B9CC37 #37B9CC
tetradic
#CC37B9 #CC9437 #37CC4A #376ECC
square
#CC37B9 #CC9437 #37CC4A #376ECC
split-complementary
#CC37B9 #6ECC37 #37CC94
monochromatic
#6D1C63 #9E288F #CC37B9 #D868CA #E599DB

Accessibility & contrast

On white

4.36
#CC37B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CC37B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37B9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37B9#FFFFFF#000000##000000
##CC37B91.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#336BBD
Deuteranopia (green-blind)
#6A81B5
Tritanopia (blue-blind)
#D54575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc37b9;
/* rgb */ color: rgb(204, 55, 185);
/* oklch */ color: oklch(60.6% 0.228 333.8);
Tailwind
colors: {
  custom: {
    50: '#e07cce',
    500: '#cc37b9',
    950: '#000000',
  },
}
SCSS
$custom: #cc37b9;
$custom-light: #e07cce;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37b9",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 307.651,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60583,
    "c": 0.22821,
    "h": 333.8
  },
  "luminance": 0.19073
}

Semantic roles & 50–950 ramp

primary
#CC37B9
secondary
#8ED097
accent
#E35945
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC37B9

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

Preview Lab → · Contrast checker → · Palette generator →

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