#CC37A3#CC37A3

#CC37A3 is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.5% C 0.214 H 341.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CC37A3
RGBrgb(204, 55, 163)
HSLhsl(317, 59%, 51%)
HSVhsv(317, 73%, 80%)
CMYKcmyk(0%, 73%, 20.1%, 20%)
CIE-LABlab(49.76, 67.55, -25.46)
CIE-LCHlch(49.76, 72.19, 339.35°)
OKLaboklab(59.52% 0.2023 -0.0685)
OKLCHoklch(59.52% 0.214 341.3)
XYZxyz(32.8799, 18.2174, 36.4279)
Luminance0.1821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37A3 #37CC60
analogous
#AA37CC #CC37A3 #CC3758
triadic
#CC37A3 #A3CC37 #37A3CC
tetradic
#CC37A3 #CCAA37 #37CC60 #3758CC
square
#CC37A3 #CCAA37 #37CC60 #3758CC
split-complementary
#CC37A3 #58CC37 #37CCAA
monochromatic
#6D1C57 #9E287D #CC37A3 #D868B9 #E599D0

Accessibility & contrast

On white

4.52
#CC37A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CC37A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37A3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37A3#FFFFFF#000000##000000
##CC37A31.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4467A6
Deuteranopia (green-blind)
#737FA0
Tritanopia (blue-blind)
#D83A69
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc37a3;
/* rgb */ color: rgb(204, 55, 163);
/* oklch */ color: oklch(59.5% 0.214 341.3);
Tailwind
colors: {
  custom: {
    50: '#e07cbe',
    500: '#cc37a3',
    950: '#000000',
  },
}
SCSS
$custom: #cc37a3;
$custom-light: #e07cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37a3",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 316.51,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59517,
    "c": 0.2136,
    "h": 341.3
  },
  "luminance": 0.18214
}

Semantic roles & 50–950 ramp

primary
#CC37A3
secondary
#8ED0A1
accent
#E37145
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CC37A3

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

Preview Lab → · Contrast checker → · Palette generator →

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