#c5259b
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 | #c5259b | |
| RGB | rgb(197 37 155) | |
| HSL | hsl(315.75 68.38% 45.88%) | |
| OKLCH | oklch(0.57 0.22 341.59) | |
| CMYK | cmyk(0% 81.22% 21.32% 22.75%) | |
| Android | #ffc5259b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.10:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.11: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="#c5259b"
Gradient stop
<stop stop-color="#c5259b"/>
CSS variable + fill
:root { --c: #c5259b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c5259b; background-color: #c5259b; bg-[#c5259b]