#42e0cb
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 | #42e0cb | |
| RGB | rgb(66 224 203) | |
| HSL | hsl(172.03 71.82% 56.86%) | |
| OKLCH | oklch(0.82 0.13 182.09) | |
| CMYK | cmyk(70.54% 0% 9.38% 12.16%) | |
| Android | #ff42e0cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.64:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.75: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="#42e0cb"
Gradient stop
<stop stop-color="#42e0cb"/>
CSS variable + fill
:root { --c: #42e0cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42e0cb; background-color: #42e0cb; bg-[#42e0cb]