#CC7EA1#CC7EA1
#CC7EA1 is a light, moderate pink. Relative luminance 0.303; OKLCH L 68.6% C 0.106 H 351.8°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #CC7EA1 |
|---|---|
| RGB | rgb(204, 126, 161) |
| HSL | hsl(333, 43%, 65%) |
| HSV | hsv(333, 38%, 80%) |
| CMYK | cmyk(0%, 38.2%, 21.1%, 20%) |
| CIE-LAB | lab(61.94, 34.94, -5.84) |
| CIE-LCH | lch(61.94, 35.43, 350.52°) |
| OKLab | oklab(68.56% 0.1045 -0.015) |
| OKLCH | oklch(68.56% 0.106 351.8) |
| XYZ | xyz(38.7964, 30.3348, 37.5231) |
| Luminance | 0.3033 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dull Pink
#D5869D
ΔE00 4.37
Muted Pink
#D1768F
ΔE00 4.99
Palevioletred
#DB7093
ΔE00 5.35
Dusky Pink
#CC7A8B
ΔE00 6.23
Pig Pink
#E78EA5
ΔE00 7.34
Old Pink
#C77986
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC7EA1 #7ECCA9
analogous
#CC7EC8 #CC7EA1 #CC827E
triadic
#CC7EA1 #A1CC7E #7EA1CC
tetradic
#CC7EA1 #C8CC7E #7ECCA9 #827ECC
square
#CC7EA1 #C8CC7E #7ECCA9 #827ECC
split-complementary
#CC7EA1 #7ECC82 #7EC8CC
monochromatic
#953B63 #BB5281 #CC7EA1 #DDAAC1 #EFD6E1
Accessibility & contrast
On white
2.97
#CC7EA1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#CC7EA1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC7EA1
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC7EA1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC7EA1 | 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)
#868EA2
Deuteranopia (green-blind)
#999B9F
Tritanopia (blue-blind)
#D77B8A
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #cc7ea1; /* rgb */ color: rgb(204, 126, 161); /* oklch */ color: oklch(68.6% 0.106 351.8);
Tailwind
colors: {
custom: {
50: '#dda4bc',
500: '#cc7ea1',
950: '#000000',
},
}SCSS
$custom: #cc7ea1; $custom-light: #dda4bc; $custom-dark: #000000;
JSON
{
"hex": "#cc7ea1",
"rgb": {
"r": 204,
"g": 126,
"b": 161
},
"hsl": {
"h": 333.077,
"s": 43.333,
"l": 64.706
},
"oklch": {
"l": 0.68559,
"c": 0.10559,
"h": 351.8
},
"luminance": 0.30332
}Semantic roles & 50–950 ramp
primary
#CC7EA1
secondary
#C6E0D4
accent
#B67A2F
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81