#CC7EA2#CC7EA2
#CC7EA2 is a light, moderate pink. Relative luminance 0.304; OKLCH L 68.6% C 0.106 H 351.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7EA2 |
|---|---|
| RGB | rgb(204, 126, 162) |
| HSL | hsl(332, 43%, 65%) |
| HSV | hsv(332, 38%, 80%) |
| CMYK | cmyk(0%, 38.2%, 20.6%, 20%) |
| CIE-LAB | lab(61.97, 35.09, -6.36) |
| CIE-LCH | lch(61.97, 35.66, 349.72°) |
| OKLab | oklab(68.59% 0.1049 -0.0164) |
| OKLCH | oklch(68.59% 0.106 351.1) |
| XYZ | xyz(38.8849, 30.3702, 37.9893) |
| Luminance | 0.3037 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dull Pink
#D5869D
ΔE00 4.61
Muted Pink
#D1768F
ΔE00 5.25
Palevioletred
#DB7093
ΔE00 5.52
Dusky Pink
#CC7A8B
ΔE00 6.51
Pale Magenta
#D767AD
ΔE00 7.39
Pig Pink
#E78EA5
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7EA2 #7ECCA8
analogous
#CC7EC9 #CC7EA2 #CC817E
triadic
#CC7EA2 #A2CC7E #7EA2CC
tetradic
#CC7EA2 #C9CC7E #7ECCA8 #817ECC
square
#CC7EA2 #C9CC7E #7ECCA8 #817ECC
split-complementary
#CC7EA2 #7ECC81 #7EC9CC
monochromatic
#953B64 #BB5282 #CC7EA2 #DDAAC2 #EFD6E1
Accessibility & contrast
On white
2.97
#CC7EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#CC7EA2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7EA2
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7EA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7EA2 | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#868EA3
Deuteranopia (green-blind)
#999BA0
Tritanopia (blue-blind)
#D77C8B
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #cc7ea2; /* rgb */ color: rgb(204, 126, 162); /* oklch */ color: oklch(68.6% 0.106 351.1);
Tailwind
colors: {
custom: {
50: '#dda4bd',
500: '#cc7ea2',
950: '#000000',
},
}SCSS
$custom: #cc7ea2; $custom-light: #dda4bd; $custom-dark: #000000;
JSON
{
"hex": "#cc7ea2",
"rgb": {
"r": 204,
"g": 126,
"b": 162
},
"hsl": {
"h": 332.308,
"s": 43.333,
"l": 64.706
},
"oklch": {
"l": 0.68592,
"c": 0.10614,
"h": 351.1
},
"luminance": 0.30368
}Semantic roles & 50–950 ramp
primary
#CC7EA2
secondary
#C6E0D4
accent
#B6782F
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81