#cb798b
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 | #cb798b | |
| RGB | rgb(203 121 139) | |
| HSL | hsl(346.83 44.09% 63.53%) | |
| OKLCH | oklch(0.67 0.1 6.1) | |
| CMYK | cmyk(0% 40.39% 31.53% 20.39%) | |
| Android | #ffcb798b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.15:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.64: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="#cb798b"
Gradient stop
<stop stop-color="#cb798b"/>
CSS variable + fill
:root { --c: #cb798b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb798b; background-color: #cb798b; bg-[#cb798b]