#CC37BF#CC37BF

#CC37BF is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.9% C 0.232 H 331.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CC37BF
RGBrgb(204, 55, 191)
HSLhsl(305, 59%, 51%)
HSVhsv(305, 73%, 80%)
CMYKcmyk(0%, 73%, 6.4%, 20%)
CIE-LABlab(51.08, 71.54, -39.81)
CIE-LCHlch(51.08, 81.87, 330.91°)
OKLaboklab(60.9% 0.2051 -0.1095)
OKLCHoklch(60.9% 0.232 331.9)
XYZxyz(35.6721, 19.3343, 51.1332)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37BF #37CC44
analogous
#8E37CC #CC37BF #CC3774
triadic
#CC37BF #BFCC37 #37BFCC
tetradic
#CC37BF #CC8E37 #37CC44 #3774CC
square
#CC37BF #CC8E37 #37CC44 #3774CC
split-complementary
#CC37BF #74CC37 #37CC8E
monochromatic
#6D1C66 #9E2893 #CC37BF #D868CF #E599DE

Accessibility & contrast

On white

4.32
#CC37BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CC37BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37BF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37BF#FFFFFF#000000##000000
##CC37BF1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC3
Deuteranopia (green-blind)
#6781BB
Tritanopia (blue-blind)
#D54878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc37bf;
/* rgb */ color: rgb(204, 55, 191);
/* oklch */ color: oklch(60.9% 0.232 331.9);
Tailwind
colors: {
  custom: {
    50: '#e07dd3',
    500: '#cc37bf',
    950: '#000000',
  },
}
SCSS
$custom: #cc37bf;
$custom-light: #e07dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37bf",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 305.235,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60896,
    "c": 0.23246,
    "h": 331.9
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

primary
#CC37BF
secondary
#8ED094
accent
#E35345
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC37BF

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

Preview Lab → · Contrast checker → · Palette generator →

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