#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 |
|---|---|
| RGB | rgb(204, 51, 91) |
| HSL | hsl(344, 60%, 50%) |
| HSV | hsv(344, 75%, 80%) |
| CMYK | cmyk(0%, 75%, 55.4%, 20%) |
| CIE-LAB | lab(46.93, 61.36, 13.95) |
| CIE-LCH | lch(46.93, 62.93, 12.81°) |
| OKLab | oklab(56.67% 0.1859 0.0351) |
| OKLCH | oklch(56.67% 0.189 10.7) |
| XYZ | xyz(27.9767, 15.9643, 11.5038) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lipstick
#D5174E
ΔE00 3.45
Deep Rose
#C74767
ΔE00 3.49
Cherry
#DE3163
ΔE00 3.68
Raspberry
#E30B5C
ΔE00 3.81
Cerise
#DE0C62
ΔE00 3.83
Dark Pink
#CB416B
ΔE00 3.89
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 |
|---|---|---|---|---|
| ##CC335B | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.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