#CC2B71#CC2B71
#CC2B71 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.7% C 0.201 H 0.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #CC2B71 |
|---|---|
| RGB | rgb(204, 43, 113) |
| HSL | hsl(334, 65%, 48%) |
| HSV | hsv(334, 79%, 80%) |
| CMYK | cmyk(0%, 78.9%, 44.6%, 20%) |
| CIE-LAB | lab(46.66, 65.55, 0.03) |
| CIE-LCH | lch(46.66, 65.55, 0.02°) |
| OKLab | oklab(56.66% 0.2015 0.0008) |
| OKLCH | oklch(56.66% 0.201 0.2) |
| XYZ | xyz(28.7487, 15.7613, 17.1480) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Hot Pink
#D90166
ΔE00 3.58
Deep Pink
#CB0162
ΔE00 3.76
Dark Pink
#CB416B
ΔE00 4.57
Cerise
#DE0C62
ΔE00 5.29
Magenta (survey)
#C20078
ΔE00 5.96
Darkish Pink
#DA467D
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC2B71 #2BCC86
analogous
#CC2BC1 #CC2B71 #CC352B
triadic
#CC2B71 #71CC2B #2B71CC
tetradic
#CC2B71 #C1CC2B #2BCC86 #352BCC
square
#CC2B71 #C1CC2B #2BCC86 #352BCC
split-complementary
#CC2B71 #2BCC35 #2BC1CC
monochromatic
#671639 #992055 #CC2B71 #DC5892 #E78BB3
Accessibility & contrast
On white
5.06
#CC2B71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#CC2B71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CC2B71
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC2B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CC2B71 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#525B73
Deuteranopia (green-blind)
#7D7A6D
Tritanopia (blue-blind)
#DD004B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #cc2b71; /* rgb */ color: rgb(204, 43, 113); /* oklch */ color: oklch(56.7% 0.201 0.2);
Tailwind
colors: {
custom: {
50: '#e27599',
500: '#cc2b71',
950: '#000000',
},
}SCSS
$custom: #cc2b71; $custom-light: #e27599; $custom-dark: #000000;
JSON
{
"hex": "#cc2b71",
"rgb": {
"r": 204,
"g": 43,
"b": 113
},
"hsl": {
"h": 333.913,
"s": 65.182,
"l": 48.431
},
"oklch": {
"l": 0.5666,
"c": 0.20146,
"h": 0.2
},
"luminance": 0.15757
}Semantic roles & 50–950 ramp
primary
#CC2B71
secondary
#82D0AE
accent
#E89F40
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E