#cd57ab
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 | #cd57ab | |
| RGB | rgb(205 87 171) | |
| HSL | hsl(317.29 54.13% 57.25%) | |
| OKLCH | oklch(0.63 0.18 340.2) | |
| CMYK | cmyk(0% 57.56% 16.59% 19.61%) | |
| Android | #ffcd57ab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.78:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.54: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="#cd57ab"
Gradient stop
<stop stop-color="#cd57ab"/>
CSS variable + fill
:root { --c: #cd57ab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd57ab; background-color: #cd57ab; bg-[#cd57ab]