#CC337C#CC337C

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

Color values

HEX#CC337C
RGBrgb(204, 51, 124)
HSLhsl(331, 60%, 50%)
HSVhsv(331, 75%, 80%)
CMYKcmyk(0%, 75%, 39.2%, 20%)
CIE-LABlab(47.83, 64.25, -4.97)
CIE-LCHlch(47.83, 64.44, 355.57°)
OKLaboklab(57.63% 0.1974 -0.0123)
OKLCHoklch(57.63% 0.198 356.4)
XYZxyz(29.7258, 16.6640, 20.7160)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC337C #33CC83
analogous
#CC33C8 #CC337C #CC3733
triadic
#CC337C #7CCC33 #337CCC
tetradic
#CC337C #C8CC33 #33CC83 #3733CC
square
#CC337C #C8CC33 #33CC83 #3733CC
split-complementary
#CC337C #33CC37 #33C8CC
monochromatic
#6A1B40 #9B275E #CC337C #D8649B #E495BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC337C#FFFFFF#000000##FFFFFF
##CC337C1.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)
#535F7E
Deuteranopia (green-blind)
#7D7C79
Tritanopia (blue-blind)
#DD1E53
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cc337c;
/* rgb */ color: rgb(204, 51, 124);
/* oklch */ color: oklch(57.6% 0.198 356.4);
Tailwind
colors: {
  custom: {
    50: '#e179a1',
    500: '#cc337c',
    950: '#000000',
  },
}
SCSS
$custom: #cc337c;
$custom-light: #e179a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc337c",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 331.373,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.57632,
    "c": 0.19774,
    "h": 356.4
  },
  "luminance": 0.1666
}

Semantic roles & 50–950 ramp

primary
#CC337C
secondary
#8BD0AF
accent
#E39845
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CC337C

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

Preview Lab → · Contrast checker → · Palette generator →

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