#d271cb
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 | #d271cb | |
| RGB | rgb(210 113 203) | |
| HSL | hsl(304.33 51.87% 63.33%) | |
| OKLCH | oklch(0.69 0.16 329.89) | |
| CMYK | cmyk(0% 46.19% 3.33% 17.65%) | |
| Android | #ffd271cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.01:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.96: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="#d271cb"
Gradient stop
<stop stop-color="#d271cb"/>
CSS variable + fill
:root { --c: #d271cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d271cb; background-color: #d271cb; bg-[#d271cb]