#CC337D#CC337D

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

Color values

HEX#CC337D
RGBrgb(204, 51, 125)
HSLhsl(331, 60%, 50%)
HSVhsv(331, 75%, 80%)
CMYKcmyk(0%, 75%, 38.7%, 20%)
CIE-LABlab(47.87, 64.35, -5.53)
CIE-LCHlch(47.87, 64.59, 355.09°)
OKLaboklab(57.67% 0.1977 -0.0137)
OKLCHoklch(57.67% 0.198 356)
XYZxyz(29.7894, 16.6894, 21.0507)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC337D #33CC82
analogous
#CC33CA #CC337D #CC3533
triadic
#CC337D #7DCC33 #337DCC
tetradic
#CC337D #CACC33 #33CC82 #3533CC
square
#CC337D #CACC33 #33CC82 #3533CC
split-complementary
#CC337D #33CC35 #33CACC
monochromatic
#6A1B41 #9B275F #CC337D #D8649C #E495BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC337D#FFFFFF#000000##FFFFFF
##CC337D1.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)
#525F7F
Deuteranopia (green-blind)
#7D7C7A
Tritanopia (blue-blind)
#DC1F54
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc337d;
/* rgb */ color: rgb(204, 51, 125);
/* oklch */ color: oklch(57.7% 0.198 356.0);
Tailwind
colors: {
  custom: {
    50: '#e179a2',
    500: '#cc337d',
    950: '#000000',
  },
}
SCSS
$custom: #cc337d;
$custom-light: #e179a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc337d",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 330.98,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.57667,
    "c": 0.19813,
    "h": 356
  },
  "luminance": 0.16686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC337D

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

Preview Lab → · Contrast checker → · Palette generator →

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