#cc154c
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 | #cc154c | |
| RGB | rgb(204 21 76) | |
| HSL | hsl(341.97 81.33% 44.12%) | |
| OKLCH | oklch(0.54 0.21 13.06) | |
| CMYK | cmyk(0% 89.71% 62.75% 20%) | |
| Android | #ffcc154c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.77:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#cc154c"
Gradient stop
<stop stop-color="#cc154c"/>
CSS variable + fill
:root { --c: #cc154c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc154c; background-color: #cc154c; bg-[#cc154c]