#CC337A#CC337A

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

Color values

HEX#CC337A
RGBrgb(204, 51, 122)
HSLhsl(332, 60%, 50%)
HSVhsv(332, 75%, 80%)
CMYKcmyk(0%, 75%, 40.2%, 20%)
CIE-LABlab(47.77, 64.05, -3.85)
CIE-LCHlch(47.77, 64.16, 356.56°)
OKLaboklab(57.57% 0.1968 -0.0093)
OKLCHoklch(57.57% 0.197 357.3)
XYZxyz(29.6006, 16.6139, 20.0566)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC337A #33CC85
analogous
#CC33C6 #CC337A #CC3933
triadic
#CC337A #7ACC33 #337ACC
tetradic
#CC337A #C6CC33 #33CC85 #3933CC
square
#CC337A #C6CC33 #33CC85 #3933CC
split-complementary
#CC337A #33CC39 #33C6CC
monochromatic
#6A1B3F #9B275D #CC337A #D8649A #E495BA

Accessibility & contrast

On white

4.86
#CC337A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#CC337A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC337A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC337A#FFFFFF#000000##FFFFFF
##CC337A1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535F7C
Deuteranopia (green-blind)
#7D7C77
Tritanopia (blue-blind)
#DD1D52
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cc337a;
/* rgb */ color: rgb(204, 51, 122);
/* oklch */ color: oklch(57.6% 0.197 357.3);
Tailwind
colors: {
  custom: {
    50: '#e179a0',
    500: '#cc337a',
    950: '#000000',
  },
}
SCSS
$custom: #cc337a;
$custom-light: #e179a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc337a",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 332.157,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.57565,
    "c": 0.19697,
    "h": 357.3
  },
  "luminance": 0.1661
}

Semantic roles & 50–950 ramp

primary
#CC337A
secondary
#8BD0B0
accent
#E39A45
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC337A

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

Preview Lab → · Contrast checker → · Palette generator →

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