#CC37AF#CC37AF

#CC37AF is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.1% C 0.221 H 337.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CC37AF
RGBrgb(204, 55, 175)
HSLhsl(312, 59%, 51%)
HSVhsv(312, 73%, 80%)
CMYKcmyk(0%, 73%, 14.2%, 20%)
CIE-LABlab(50.30, 69.20, -31.70)
CIE-LCHlch(50.30, 76.11, 335.39°)
OKLaboklab(60.08% 0.2039 -0.0862)
OKLCHoklch(60.08% 0.221 337.1)
XYZxyz(34.0065, 18.6680, 42.3614)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37AF #37CC54
analogous
#9E37CC #CC37AF #CC3764
triadic
#CC37AF #AFCC37 #37AFCC
tetradic
#CC37AF #CC9E37 #37CC54 #3764CC
square
#CC37AF #CC9E37 #37CC54 #3764CC
split-complementary
#CC37AF #64CC37 #37CC9E
monochromatic
#6D1C5D #9E2887 #CC37AF #D868C3 #E599D6

Accessibility & contrast

On white

4.44
#CC37AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CC37AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37AF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37AF#FFFFFF#000000##000000
##CC37AF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#6E80AB
Tritanopia (blue-blind)
#D7406F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc37af;
/* rgb */ color: rgb(204, 55, 175);
/* oklch */ color: oklch(60.1% 0.221 337.1);
Tailwind
colors: {
  custom: {
    50: '#e07cc7',
    500: '#cc37af',
    950: '#000000',
  },
}
SCSS
$custom: #cc37af;
$custom-light: #e07cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37af",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 311.678,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60082,
    "c": 0.22136,
    "h": 337.1
  },
  "luminance": 0.18665
}

Semantic roles & 50–950 ramp

primary
#CC37AF
secondary
#8ED09B
accent
#E36445
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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