#c751bf
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 | #c751bf | |
| RGB | rgb(199 81 191) | |
| HSL | hsl(304.07 51.3% 54.9%) | |
| OKLCH | oklch(0.63 0.2 330.36) | |
| CMYK | cmyk(0% 59.3% 4.02% 21.96%) | |
| Android | #ffc751bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.91:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.35: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="#c751bf"
Gradient stop
<stop stop-color="#c751bf"/>
CSS variable + fill
:root { --c: #c751bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c751bf; background-color: #c751bf; bg-[#c751bf]