#CC37BD#CC37BD

#CC37BD is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.8% C 0.231 H 332.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CC37BD
RGBrgb(204, 55, 189)
HSLhsl(306, 59%, 51%)
HSVhsv(306, 73%, 80%)
CMYKcmyk(0%, 73%, 7.4%, 20%)
CIE-LABlab(50.97, 71.24, -38.81)
CIE-LCHlch(50.97, 81.12, 331.42°)
OKLaboklab(60.79% 0.205 -0.1066)
OKLCHoklch(60.79% 0.231 332.5)
XYZxyz(35.4535, 19.2468, 49.9820)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37BD #37CC46
analogous
#9037CC #CC37BD #CC3772
triadic
#CC37BD #BDCC37 #37BDCC
tetradic
#CC37BD #CC9037 #37CC46 #3772CC
square
#CC37BD #CC9037 #37CC46 #3772CC
split-complementary
#CC37BD #72CC37 #37CC90
monochromatic
#6D1C65 #9E2892 #CC37BD #D868CD #E599DD

Accessibility & contrast

On white

4.33
#CC37BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CC37BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37BD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37BD#FFFFFF#000000##000000
##CC37BD1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC1
Deuteranopia (green-blind)
#6881B9
Tritanopia (blue-blind)
#D54777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc37bd;
/* rgb */ color: rgb(204, 55, 189);
/* oklch */ color: oklch(60.8% 0.231 332.5);
Tailwind
colors: {
  custom: {
    50: '#e07cd1',
    500: '#cc37bd',
    950: '#000000',
  },
}
SCSS
$custom: #cc37bd;
$custom-light: #e07cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37bd",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 306.04,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60791,
    "c": 0.23103,
    "h": 332.5
  },
  "luminance": 0.19244
}

Semantic roles & 50–950 ramp

primary
#CC37BD
secondary
#8ED095
accent
#E35545
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CC37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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