#CC37B6#CC37B6

#CC37B6 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.4% C 0.226 H 334.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CC37B6
RGBrgb(204, 55, 182)
HSLhsl(309, 59%, 51%)
HSVhsv(309, 73%, 80%)
CMYKcmyk(0%, 73%, 10.8%, 20%)
CIE-LABlab(50.63, 70.20, -35.28)
CIE-LCHlch(50.63, 78.57, 333.32°)
OKLaboklab(60.43% 0.2045 -0.0965)
OKLCHoklch(60.43% 0.226 334.7)
XYZxyz(34.7119, 18.9502, 46.0765)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37B6 #37CC4D
analogous
#9737CC #CC37B6 #CC376B
triadic
#CC37B6 #B6CC37 #37B6CC
tetradic
#CC37B6 #CC9737 #37CC4D #376BCC
square
#CC37B6 #CC9737 #37CC4D #376BCC
split-complementary
#CC37B6 #6BCC37 #37CC97
monochromatic
#6D1C61 #9E288C #CC37B6 #D868C8 #E599DA

Accessibility & contrast

On white

4.38
#CC37B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CC37B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37B6
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37B6#FFFFFF#000000##000000
##CC37B61.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#366BB9
Deuteranopia (green-blind)
#6B80B2
Tritanopia (blue-blind)
#D64473
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc37b6;
/* rgb */ color: rgb(204, 55, 182);
/* oklch */ color: oklch(60.4% 0.226 334.7);
Tailwind
colors: {
  custom: {
    50: '#e07ccc',
    500: '#cc37b6',
    950: '#000000',
  },
}
SCSS
$custom: #cc37b6;
$custom-light: #e07ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37b6",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 308.859,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.6043,
    "c": 0.22613,
    "h": 334.7
  },
  "luminance": 0.18947
}

Semantic roles & 50–950 ramp

primary
#CC37B6
secondary
#8ED098
accent
#E35C45
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC37B6

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

Preview Lab → · Contrast checker → · Palette generator →

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