#CC335F#CC335F

#CC335F is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.8% C 0.190 H 9.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CC335F
RGBrgb(204, 51, 95)
HSLhsl(343, 60%, 50%)
HSVhsv(343, 75%, 80%)
CMYKcmyk(0%, 75%, 53.4%, 20%)
CIE-LABlab(47.02, 61.66, 11.62)
CIE-LCHlch(47.02, 62.74, 10.67°)
OKLaboklab(56.77% 0.1874 0.0296)
OKLCHoklch(56.77% 0.19 9)
XYZxyz(28.1538, 16.0352, 12.4369)
Luminance0.1603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC335F #33CCA0
analogous
#CC33AC #CC335F #CC5333
triadic
#CC335F #5FCC33 #335FCC
tetradic
#CC335F #ACCC33 #33CCA0 #5333CC
square
#CC335F #ACCC33 #33CCA0 #5333CC
split-complementary
#CC335F #33CC53 #33ACCC
monochromatic
#6A1B31 #9B2748 #CC335F #D86485 #E495AC

Accessibility & contrast

On white

4.99
#CC335F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#CC335F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC335F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC335F#FFFFFF#000000##FFFFFF
##CC335F1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5C60
Deuteranopia (green-blind)
#827B5B
Tritanopia (blue-blind)
#DF0146
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc335f;
/* rgb */ color: rgb(204, 51, 95);
/* oklch */ color: oklch(56.8% 0.190 9.0);
Tailwind
colors: {
  custom: {
    50: '#e2788c',
    500: '#cc335f',
    950: '#000000',
  },
}
SCSS
$custom: #cc335f;
$custom-light: #e2788c;
$custom-dark: #000000;
JSON
{
  "hex": "#cc335f",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 342.745,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.56768,
    "c": 0.18976,
    "h": 9
  },
  "luminance": 0.16031
}

Semantic roles & 50–950 ramp

primary
#CC335F
secondary
#8BD0BC
accent
#E3B645
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CC335F

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

Preview Lab → · Contrast checker → · Palette generator →

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