#cba8cd
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 | #cba8cd | |
| RGB | rgb(203 168 205) | |
| HSL | hsl(296.76 27.01% 73.14%) | |
| OKLCH | oklch(0.77 0.06 324.47) | |
| CMYK | cmyk(0.98% 18.05% 0% 19.61%) | |
| Android | #ffcba8cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.09:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.02: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="#cba8cd"
Gradient stop
<stop stop-color="#cba8cd"/>
CSS variable + fill
:root { --c: #cba8cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cba8cd; background-color: #cba8cd; bg-[#cba8cd]