#CC8EBA#CC8EBA
#CC8EBA is a light, moderate pink. Relative luminance 0.357; OKLCH L 72.1% C 0.095 H 337.7°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #CC8EBA |
|---|---|
| RGB | rgb(204, 142, 186) |
| HSL | hsl(317, 38%, 68%) |
| HSV | hsv(317, 30%, 80%) |
| CMYK | cmyk(0%, 30.4%, 8.8%, 20%) |
| CIE-LAB | lab(66.31, 30.34, -13.46) |
| CIE-LCH | lch(66.31, 33.19, 336.08°) |
| OKLab | oklab(72.15% 0.0875 -0.0358) |
| OKLCH | oklch(72.15% 0.095 337.7) |
| XYZ | xyz(43.4375, 35.7304, 51.0535) |
| Luminance | 0.3573 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lilac
#C8A2C8
ΔE00 6.28
Dusty Lavender
#AC86A8
ΔE00 6.89
Plum
#DDA0DD
ΔE00 7.01
Lavender Pink
#DD85D7
ΔE00 7.59
Dull Pink
#D5869D
ΔE00 8.37
Light Mauve
#C292A1
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC8EBA #8ECCA0
analogous
#BF8ECC #CC8EBA #CC8E9B
triadic
#CC8EBA #BACC8E #8EBACC
tetradic
#CC8EBA #CCBF8E #8ECCA0 #8E9BCC
square
#CC8EBA #CCBF8E #8ECCA0 #8E9BCC
split-complementary
#CC8EBA #9BCC8E #8ECCBF
monochromatic
#9A4682 #B964A0 #CC8EBA #DFB8D4 #F2E2ED
Accessibility & contrast
On white
2.58
#CC8EBA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#CC8EBA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC8EBA
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC8EBA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC8EBA | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F9CBC
Deuteranopia (green-blind)
#9EA5B8
Tritanopia (blue-blind)
#D3909D
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #cc8eba; /* rgb */ color: rgb(204, 142, 186); /* oklch */ color: oklch(72.1% 0.095 337.7);
Tailwind
colors: {
custom: {
50: '#dcb0ce',
500: '#cc8eba',
950: '#000000',
},
}SCSS
$custom: #cc8eba; $custom-light: #dcb0ce; $custom-dark: #000000;
JSON
{
"hex": "#cc8eba",
"rgb": {
"r": 204,
"g": 142,
"b": 186
},
"hsl": {
"h": 317.419,
"s": 37.805,
"l": 67.843
},
"oklch": {
"l": 0.72149,
"c": 0.09457,
"h": 337.7
},
"luminance": 0.35729
}Semantic roles & 50–950 ramp
primary
#CC8EBA
secondary
#D1E4D7
accent
#B15935
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151013
muted
#837F82