#d7249b
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 | #d7249b | |
| RGB | rgb(215 36 155) | |
| HSL | hsl(320.11 71.31% 49.22%) | |
| OKLCH | oklch(0.6 0.23 346.29) | |
| CMYK | cmyk(0% 83.26% 27.91% 15.69%) | |
| Android | #ffd7249b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.61: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="#d7249b"
Gradient stop
<stop stop-color="#d7249b"/>
CSS variable + fill
:root { --c: #d7249b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d7249b; background-color: #d7249b; bg-[#d7249b]