#c23498
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 | #c23498 | |
| RGB | rgb(194 52 152) | |
| HSL | hsl(317.75 57.72% 48.24%) | |
| OKLCH | oklch(0.57 0.2 342.4) | |
| CMYK | cmyk(0% 73.2% 21.65% 23.92%) | |
| Android | #ffc23498 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.95:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.23: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="#c23498"
Gradient stop
<stop stop-color="#c23498"/>
CSS variable + fill
:root { --c: #c23498; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c23498; background-color: #c23498; bg-[#c23498]