#c874bd
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 | #c874bd | |
| RGB | rgb(200 116 189) | |
| HSL | hsl(307.86 43.3% 61.96%) | |
| OKLCH | oklch(0.68 0.14 331.93) | |
| CMYK | cmyk(0% 42% 5.5% 21.57%) | |
| Android | #ffc874bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.13:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.68: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="#c874bd"
Gradient stop
<stop stop-color="#c874bd"/>
CSS variable + fill
:root { --c: #c874bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c874bd; background-color: #c874bd; bg-[#c874bd]