#CC7FA6#CC7FA6
#CC7FA6 is a light, moderate pink. Relative luminance 0.308; OKLCH L 68.9% C 0.107 H 348.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7FA6 |
|---|---|
| RGB | rgb(204, 127, 166) |
| HSL | hsl(330, 43%, 65%) |
| HSV | hsv(330, 38%, 80%) |
| CMYK | cmyk(0%, 37.7%, 18.6%, 20%) |
| CIE-LAB | lab(62.31, 35.17, -8.14) |
| CIE-LCH | lch(62.31, 36.10, 346.97°) |
| OKLab | oklab(68.89% 0.1046 -0.0212) |
| OKLCH | oklch(68.89% 0.107 348.5) |
| XYZ | xyz(39.3747, 30.7717, 39.9346) |
| Luminance | 0.3077 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dull Pink
#D5869D
ΔE00 5.35
Muted Pink
#D1768F
ΔE00 6.23
Palevioletred
#DB7093
ΔE00 6.30
Pale Magenta
#D767AD
ΔE00 7.00
Dusky Pink
#CC7A8B
ΔE00 7.51
Pig Pink
#E78EA5
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7FA6 #7FCCA5
analogous
#CB7FCC #CC7FA6 #CC7F80
triadic
#CC7FA6 #A6CC7F #7FA6CC
tetradic
#CC7FA6 #CCCB7F #7FCCA5 #7F80CC
square
#CC7FA6 #CCCB7F #7FCCA5 #7F80CC
split-complementary
#CC7FA6 #80CC7F #7FCCCB
monochromatic
#953B69 #BB5388 #CC7FA6 #DDABC4 #EFD7E3
Accessibility & contrast
On white
2.94
#CC7FA6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#CC7FA6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7FA6
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7FA6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7FA6 | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#868FA7
Deuteranopia (green-blind)
#999BA4
Tritanopia (blue-blind)
#D67D8D
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #cc7fa6; /* rgb */ color: rgb(204, 127, 166); /* oklch */ color: oklch(68.9% 0.107 348.5);
Tailwind
colors: {
custom: {
50: '#dda5c0',
500: '#cc7fa6',
950: '#000000',
},
}SCSS
$custom: #cc7fa6; $custom-light: #dda5c0; $custom-dark: #000000;
JSON
{
"hex": "#cc7fa6",
"rgb": {
"r": 204,
"g": 127,
"b": 166
},
"hsl": {
"h": 329.61,
"s": 43.017,
"l": 64.902
},
"oklch": {
"l": 0.68892,
"c": 0.10675,
"h": 348.5
},
"luminance": 0.30769
}Semantic roles & 50–950 ramp
primary
#CC7FA6
secondary
#C6E1D3
accent
#B6722F
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81