#CC7CA2#CC7CA2
#CC7CA2 is a light, moderate pink. Relative luminance 0.299; OKLCH L 68.3% C 0.110 H 350.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7CA2 |
|---|---|
| RGB | rgb(204, 124, 162) |
| HSL | hsl(332, 44%, 64%) |
| HSV | hsv(332, 39%, 80%) |
| CMYK | cmyk(0%, 39.2%, 20.6%, 20%) |
| CIE-LAB | lab(61.54, 36.16, -7.01) |
| CIE-LCH | lch(61.54, 36.84, 349.03°) |
| OKLab | oklab(68.26% 0.108 -0.0182) |
| OKLCH | oklch(68.26% 0.11 350.5) |
| XYZ | xyz(38.6317, 29.8638, 37.9050) |
| Luminance | 0.2986 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dull Pink
#D5869D
ΔE00 5.13
Muted Pink
#D1768F
ΔE00 5.37
Palevioletred
#DB7093
ΔE00 5.41
Dusky Pink
#CC7A8B
ΔE00 6.79
Pale Magenta
#D767AD
ΔE00 6.80
Pig Pink
#E78EA5
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7CA2 #7CCCA6
analogous
#CC7CCA #CC7CA2 #CC7E7C
triadic
#CC7CA2 #A2CC7C #7CA2CC
tetradic
#CC7CA2 #CACC7C #7CCCA6 #7E7CCC
square
#CC7CA2 #CACC7C #7CCCA6 #7E7CCC
split-complementary
#CC7CA2 #7CCC7E #7CCACC
monochromatic
#943A65 #BB5083 #CC7CA2 #DDA8C1 #EED4E1
Accessibility & contrast
On white
3.01
#CC7CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#CC7CA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC7CA2
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7CA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7CA2 | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#848CA3
Deuteranopia (green-blind)
#989AA0
Tritanopia (blue-blind)
#D77A89
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #cc7ca2; /* rgb */ color: rgb(204, 124, 162); /* oklch */ color: oklch(68.3% 0.110 350.5);
Tailwind
colors: {
custom: {
50: '#dda3bd',
500: '#cc7ca2',
950: '#000000',
},
}SCSS
$custom: #cc7ca2; $custom-light: #dda3bd; $custom-dark: #000000;
JSON
{
"hex": "#cc7ca2",
"rgb": {
"r": 204,
"g": 124,
"b": 162
},
"hsl": {
"h": 331.5,
"s": 43.956,
"l": 64.314
},
"oklch": {
"l": 0.68261,
"c": 0.10956,
"h": 350.5
},
"luminance": 0.29861
}Semantic roles & 50–950 ramp
primary
#CC7CA2
secondary
#C4E0D3
accent
#B7762E
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81