#CC37B8#CC37B8

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

Color values

HEX#CC37B8
RGBrgb(204, 55, 184)
HSLhsl(308, 59%, 51%)
HSVhsv(308, 73%, 80%)
CMYKcmyk(0%, 73%, 9.8%, 20%)
CIE-LABlab(50.73, 70.50, -36.29)
CIE-LCHlch(50.73, 79.29, 332.76°)
OKLaboklab(60.53% 0.2047 -0.0994)
OKLCHoklch(60.53% 0.228 334.1)
XYZxyz(34.9201, 19.0335, 47.1728)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37B8 #37CC4B
analogous
#9637CC #CC37B8 #CC376D
triadic
#CC37B8 #B8CC37 #37B8CC
tetradic
#CC37B8 #CC9637 #37CC4B #376DCC
square
#CC37B8 #CC9637 #37CC4B #376DCC
split-complementary
#CC37B8 #6DCC37 #37CC96
monochromatic
#6D1C62 #9E288E #CC37B8 #D868C9 #E599DB

Accessibility & contrast

On white

4.37
#CC37B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC37B8#FFFFFF#000000##000000
##CC37B81.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#346BBC
Deuteranopia (green-blind)
#6A80B4
Tritanopia (blue-blind)
#D64574
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc37b8;
/* rgb */ color: rgb(204, 55, 184);
/* oklch */ color: oklch(60.5% 0.228 334.1);
Tailwind
colors: {
  custom: {
    50: '#e07cce',
    500: '#cc37b8',
    950: '#000000',
  },
}
SCSS
$custom: #cc37b8;
$custom-light: #e07cce;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37b8",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 308.054,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60531,
    "c": 0.22751,
    "h": 334.1
  },
  "luminance": 0.1903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC37B8

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

Preview Lab → · Contrast checker → · Palette generator →

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