#cb274c
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 | #cb274c | |
| RGB | rgb(203 39 76) | |
| HSL | hsl(346.46 67.77% 47.45%) | |
| OKLCH | oklch(0.55 0.2 14.82) | |
| CMYK | cmyk(0% 80.79% 62.56% 20.39%) | |
| Android | #ffcb274c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.33:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.93: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="#cb274c"
Gradient stop
<stop stop-color="#cb274c"/>
CSS variable + fill
:root { --c: #cb274c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb274c; background-color: #cb274c; bg-[#cb274c]