#CC34B2#CC34B2
#CC34B2 is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 60.0% C 0.227 H 336.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CC34B2 |
|---|---|
| RGB | rgb(204, 52, 178) |
| HSL | hsl(310, 60%, 50%) |
| HSV | hsv(310, 75%, 80%) |
| CMYK | cmyk(0%, 74.5%, 12.7%, 20%) |
| CIE-LAB | lab(50.11, 70.56, -33.75) |
| CIE-LCH | lch(50.11, 78.21, 334.44°) |
| OKLab | oklab(59.99% 0.207 -0.0921) |
| OKLCH | oklch(59.99% 0.227 336) |
| XYZ | xyz(34.1663, 18.5108, 43.8844) |
| Luminance | 0.1851 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.68
Pinky Purple
#C94CBE
ΔE00 4.01
Purple Pink
#D725DE
ΔE00 6.73
Hot Magenta
#F504C9
ΔE00 6.89
Pinkish Purple
#D648D7
ΔE00 7.02
Fuchsia (survey)
#ED0DD9
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC34B2 #34CC4E
analogous
#9A34CC #CC34B2 #CC3466
triadic
#CC34B2 #B2CC34 #34B2CC
tetradic
#CC34B2 #CC9A34 #34CC4E #3466CC
square
#CC34B2 #CC9A34 #34CC4E #3466CC
split-complementary
#CC34B2 #66CC34 #34CC9A
monochromatic
#6B1B5D #9C2788 #CC34B2 #D865C5 #E596D7
Accessibility & contrast
On white
4.47
#CC34B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#CC34B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC34B2
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC34B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC34B2 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3669B5
Deuteranopia (green-blind)
#6C7FAE
Tritanopia (blue-blind)
#D63F70
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cc34b2; /* rgb */ color: rgb(204, 52, 178); /* oklch */ color: oklch(60.0% 0.227 336.0);
Tailwind
colors: {
custom: {
50: '#e07bc9',
500: '#cc34b2',
950: '#000000',
},
}SCSS
$custom: #cc34b2; $custom-light: #e07bc9; $custom-dark: #000000;
JSON
{
"hex": "#cc34b2",
"rgb": {
"r": 204,
"g": 52,
"b": 178
},
"hsl": {
"h": 310.263,
"s": 59.843,
"l": 50.196
},
"oklch": {
"l": 0.59993,
"c": 0.2265,
"h": 336
},
"luminance": 0.18508
}Semantic roles & 50–950 ramp
primary
#CC34B2
secondary
#8CD098
accent
#E36045
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82