#CC337E#CC337E

#CC337E is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.7% C 0.199 H 355.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CC337E
RGBrgb(204, 51, 126)
HSLhsl(331, 60%, 50%)
HSVhsv(331, 75%, 80%)
CMYKcmyk(0%, 75%, 38.2%, 20%)
CIE-LABlab(47.90, 64.45, -6.09)
CIE-LCHlch(47.90, 64.74, 354.60°)
OKLaboklab(57.7% 0.1979 -0.0152)
OKLCHoklch(57.7% 0.199 355.6)
XYZxyz(29.8536, 16.7151, 21.3889)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC337E #33CC81
analogous
#CC33CB #CC337E #CC3433
triadic
#CC337E #7ECC33 #337ECC
tetradic
#CC337E #CBCC33 #33CC81 #3433CC
square
#CC337E #CBCC33 #33CC81 #3433CC
split-complementary
#CC337E #33CC34 #33CBCC
monochromatic
#6A1B42 #9B2760 #CC337E #D8649D #E495BC

Accessibility & contrast

On white

4.84
#CC337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#CC337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC337E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC337E#FFFFFF#000000##FFFFFF
##CC337E1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526080
Deuteranopia (green-blind)
#7C7C7B
Tritanopia (blue-blind)
#DC2054
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc337e;
/* rgb */ color: rgb(204, 51, 126);
/* oklch */ color: oklch(57.7% 0.199 355.6);
Tailwind
colors: {
  custom: {
    50: '#e179a3',
    500: '#cc337e',
    950: '#000000',
  },
}
SCSS
$custom: #cc337e;
$custom-light: #e179a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc337e",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 330.588,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.57701,
    "c": 0.19854,
    "h": 355.6
  },
  "luminance": 0.16711
}

Semantic roles & 50–950 ramp

primary
#CC337E
secondary
#8BD0AE
accent
#E39545
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CC337E

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

Preview Lab → · Contrast checker → · Palette generator →

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