#cb399e
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 | #cb399e | |
| RGB | rgb(203 57 158) | |
| HSL | hsl(318.49 58.4% 50.98%) | |
| OKLCH | oklch(0.59 0.21 342.95) | |
| CMYK | cmyk(0% 71.92% 22.17% 20.39%) | |
| Android | #ffcb399e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.61: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="#cb399e"
Gradient stop
<stop stop-color="#cb399e"/>
CSS variable + fill
:root { --c: #cb399e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb399e; background-color: #cb399e; bg-[#cb399e]