#fd7dfb
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 | #fd7dfb | |
| RGB | rgb(253 125 251) | |
| HSL | hsl(300.94 96.97% 74.12%) | |
| OKLCH | oklch(0.78 0.21 327.98) | |
| CMYK | cmyk(0% 50.59% 0.79% 0.78%) | |
| Android | #fffd7dfb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.20:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.50: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="#fd7dfb"
Gradient stop
<stop stop-color="#fd7dfb"/>
CSS variable + fill
:root { --c: #fd7dfb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fd7dfb; background-color: #fd7dfb; bg-[#fd7dfb]