#cd818e
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 | #cd818e | |
| RGB | rgb(205 129 142) | |
| HSL | hsl(349.74 43.18% 65.49%) | |
| OKLCH | oklch(0.69 0.1 8.75) | |
| CMYK | cmyk(0% 37.07% 30.73% 19.61%) | |
| Android | #ffcd818e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.94:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.12: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="#cd818e"
Gradient stop
<stop stop-color="#cd818e"/>
CSS variable + fill
:root { --c: #cd818e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd818e; background-color: #cd818e; bg-[#cd818e]