#CC335B#CC335B

#CC335B is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.7% C 0.189 H 10.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CC335B
RGBrgb(204, 51, 91)
HSLhsl(344, 60%, 50%)
HSVhsv(344, 75%, 80%)
CMYKcmyk(0%, 75%, 55.4%, 20%)
CIE-LABlab(46.93, 61.36, 13.95)
CIE-LCHlch(46.93, 62.93, 12.81°)
OKLaboklab(56.67% 0.1859 0.0351)
OKLCHoklch(56.67% 0.189 10.7)
XYZxyz(27.9767, 15.9643, 11.5038)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC335B #33CCA4
analogous
#CC33A7 #CC335B #CC5833
triadic
#CC335B #5BCC33 #335BCC
tetradic
#CC335B #A7CC33 #33CCA4 #5833CC
square
#CC335B #A7CC33 #33CCA4 #5833CC
split-complementary
#CC335B #33CC58 #33A7CC
monochromatic
#6A1B2F #9B2745 #CC335B #D86482 #E495AA

Accessibility & contrast

On white

5.01
#CC335B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#CC335B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC335B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC335B#FFFFFF#000000##FFFFFF
##CC335B1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5B5C
Deuteranopia (green-blind)
#837B57
Tritanopia (blue-blind)
#DF0044
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc335b;
/* rgb */ color: rgb(204, 51, 91);
/* oklch */ color: oklch(56.7% 0.189 10.7);
Tailwind
colors: {
  custom: {
    50: '#e27889',
    500: '#cc335b',
    950: '#000000',
  },
}
SCSS
$custom: #cc335b;
$custom-light: #e27889;
$custom-dark: #000000;
JSON
{
  "hex": "#cc335b",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 91
  },
  "hsl": {
    "h": 344.314,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.56669,
    "c": 0.18921,
    "h": 10.7
  },
  "luminance": 0.1596
}

Semantic roles & 50–950 ramp

primary
#CC335B
secondary
#8BD0BE
accent
#E3BA45
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #CC335B

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

Preview Lab → · Contrast checker → · Palette generator →

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