#CC337F#CC337F

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

Color values

HEX#CC337F
RGBrgb(204, 51, 127)
HSLhsl(330, 60%, 50%)
HSVhsv(330, 75%, 80%)
CMYKcmyk(0%, 75%, 37.7%, 20%)
CIE-LABlab(47.93, 64.55, -6.65)
CIE-LCHlch(47.93, 64.90, 354.12°)
OKLaboklab(57.74% 0.1982 -0.0167)
OKLCHoklch(57.74% 0.199 355.2)
XYZxyz(29.9184, 16.7410, 21.7304)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC337F #33CC80
analogous
#CC33CC #CC337F #CC3333
triadic
#CC337F #7FCC33 #337FCC
tetradic
#CC337F #CCCC33 #33CC80 #3333CC
square
#CC337F #CCCC33 #33CC80 #3333CC
split-complementary
#CC337F #33CC33 #33CCCC
monochromatic
#6A1B42 #9B2761 #CC337F #D8649E #E495BC

Accessibility & contrast

On white

4.83
#CC337F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#CC337F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC337F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC337F#FFFFFF#000000##FFFFFF
##CC337F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516081
Deuteranopia (green-blind)
#7C7C7C
Tritanopia (blue-blind)
#DC2055
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc337f;
/* rgb */ color: rgb(204, 51, 127);
/* oklch */ color: oklch(57.7% 0.199 355.2);
Tailwind
colors: {
  custom: {
    50: '#e179a4',
    500: '#cc337f',
    950: '#000000',
  },
}
SCSS
$custom: #cc337f;
$custom-light: #e179a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc337f",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 330.196,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.57737,
    "c": 0.19894,
    "h": 355.2
  },
  "luminance": 0.16737
}

Semantic roles & 50–950 ramp

primary
#CC337F
secondary
#8BD0AE
accent
#E39445
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CC337F

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

Preview Lab → · Contrast checker → · Palette generator →

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