#d3227f
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 | #d3227f | |
| RGB | rgb(211 34 127) | |
| HSL | hsl(328.47 72.24% 48.04%) | |
| OKLCH | oklch(0.58 0.22 355.45) | |
| CMYK | cmyk(0% 83.89% 39.81% 17.25%) | |
| Android | #ffd3227f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.87:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.30: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="#d3227f"
Gradient stop
<stop stop-color="#d3227f"/>
CSS variable + fill
:root { --c: #d3227f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d3227f; background-color: #d3227f; bg-[#d3227f]