#d3028f
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 | #d3028f | |
| RGB | rgb(211 2 143) | |
| HSL | hsl(319.52 98.12% 41.76%) | |
| OKLCH | oklch(0.57 0.24 348.67) | |
| CMYK | cmyk(0% 99.05% 32.23% 17.25%) | |
| Android | #ffd3028f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.02:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.17: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="#d3028f"
Gradient stop
<stop stop-color="#d3028f"/>
CSS variable + fill
:root { --c: #d3028f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d3028f; background-color: #d3028f; bg-[#d3028f]