#ce0342
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 | #ce0342 | |
| RGB | rgb(206 3 66) | |
| HSL | hsl(341.38 97.13% 40.98%) | |
| OKLCH | oklch(0.54 0.22 15.92) | |
| CMYK | cmyk(0% 98.54% 67.96% 19.22%) | |
| Android | #ffce0342 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.65:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.71: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="#ce0342"
Gradient stop
<stop stop-color="#ce0342"/>
CSS variable + fill
:root { --c: #ce0342; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ce0342; background-color: #ce0342; bg-[#ce0342]