#c87cbf
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #c87cbf | |
| RGB | rgb(200 124 191) | |
| HSL | hsl(307.11 40.86% 63.53%) | |
| OKLCH | oklch(0.69 0.13 331.2) | |
| CMYK | cmyk(0% 38% 4.5% 21.57%) | |
| Android | #ffc87cbf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.96:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.09:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#c87cbf"
Gradient stop
<stop stop-color="#c87cbf"/>
CSS variable + fill
:root { --c: #c87cbf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c87cbf; background-color: #c87cbf; bg-[#c87cbf]