#cb18bf
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 | #cb18bf | |
| RGB | rgb(203 24 191) | |
| HSL | hsl(304.02 78.85% 44.51%) | |
| OKLCH | oklch(0.59 0.26 331.61) | |
| CMYK | cmyk(0% 88.18% 5.91% 20.39%) | |
| Android | #ffcb18bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.74:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.42: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="#cb18bf"
Gradient stop
<stop stop-color="#cb18bf"/>
CSS variable + fill
:root { --c: #cb18bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb18bf; background-color: #cb18bf; bg-[#cb18bf]