#c168ab
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 | #c168ab | |
| RGB | rgb(193 104 171) | |
| HSL | hsl(314.83 41.78% 58.24%) | |
| OKLCH | oklch(0.64 0.14 337.14) | |
| CMYK | cmyk(0% 46.11% 11.4% 24.31%) | |
| Android | #ffc168ab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.59:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.83: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="#c168ab"
Gradient stop
<stop stop-color="#c168ab"/>
CSS variable + fill
:root { --c: #c168ab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c168ab; background-color: #c168ab; bg-[#c168ab]