#CC337B#CC337B

#CC337B is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.6% C 0.197 H 356.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CC337B
RGBrgb(204, 51, 123)
HSLhsl(332, 60%, 50%)
HSVhsv(332, 75%, 80%)
CMYKcmyk(0%, 75%, 39.7%, 20%)
CIE-LABlab(47.80, 64.15, -4.41)
CIE-LCHlch(47.80, 64.30, 356.07°)
OKLaboklab(57.6% 0.1971 -0.0108)
OKLCHoklch(57.6% 0.197 356.9)
XYZxyz(29.6629, 16.6388, 20.3846)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC337B #33CC84
analogous
#CC33C7 #CC337B #CC3833
triadic
#CC337B #7BCC33 #337BCC
tetradic
#CC337B #C7CC33 #33CC84 #3833CC
square
#CC337B #C7CC33 #33CC84 #3833CC
split-complementary
#CC337B #33CC38 #33C7CC
monochromatic
#6A1B40 #9B275D #CC337B #D8649B #E495BA

Accessibility & contrast

On white

4.85
#CC337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#CC337B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC337B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC337B#FFFFFF#000000##FFFFFF
##CC337B1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535F7D
Deuteranopia (green-blind)
#7D7C78
Tritanopia (blue-blind)
#DD1E53
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cc337b;
/* rgb */ color: rgb(204, 51, 123);
/* oklch */ color: oklch(57.6% 0.197 356.9);
Tailwind
colors: {
  custom: {
    50: '#e179a1',
    500: '#cc337b',
    950: '#000000',
  },
}
SCSS
$custom: #cc337b;
$custom-light: #e179a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc337b",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 331.765,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.57598,
    "c": 0.19735,
    "h": 356.9
  },
  "luminance": 0.16635
}

Semantic roles & 50–950 ramp

primary
#CC337B
secondary
#8BD0AF
accent
#E39945
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC337B

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

Preview Lab → · Contrast checker → · Palette generator →

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