#CC37A8#CC37A8

#CC37A8 is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 59.7% C 0.217 H 339.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CC37A8
RGBrgb(204, 55, 168)
HSLhsl(314, 59%, 51%)
HSVhsv(314, 73%, 80%)
CMYKcmyk(0%, 73%, 17.6%, 20%)
CIE-LABlab(49.98, 68.23, -28.08)
CIE-LCHlch(49.98, 73.78, 337.63°)
OKLaboklab(59.75% 0.203 -0.0759)
OKLCHoklch(59.75% 0.217 339.5)
XYZxyz(33.3368, 18.4001, 38.8341)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37A8 #37CC5B
analogous
#A637CC #CC37A8 #CC375D
triadic
#CC37A8 #A8CC37 #37A8CC
tetradic
#CC37A8 #CCA637 #37CC5B #375DCC
square
#CC37A8 #CCA637 #37CC5B #375DCC
split-complementary
#CC37A8 #5DCC37 #37CCA6
monochromatic
#6D1C59 #9E2881 #CC37A8 #D868BD #E599D2

Accessibility & contrast

On white

4.49
#CC37A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CC37A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37A8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37A8#FFFFFF#000000##000000
##CC37A81.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4068AB
Deuteranopia (green-blind)
#717FA5
Tritanopia (blue-blind)
#D83D6B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc37a8;
/* rgb */ color: rgb(204, 55, 168);
/* oklch */ color: oklch(59.7% 0.217 339.5);
Tailwind
colors: {
  custom: {
    50: '#e07cc2',
    500: '#cc37a8',
    950: '#000000',
  },
}
SCSS
$custom: #cc37a8;
$custom-light: #e07cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37a8",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 314.497,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59748,
    "c": 0.21676,
    "h": 339.5
  },
  "luminance": 0.18397
}

Semantic roles & 50–950 ramp

primary
#CC37A8
secondary
#8ED09E
accent
#E36B45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC37A8

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

Preview Lab → · Contrast checker → · Palette generator →

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