#d498cd
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 | #d498cd | |
| RGB | rgb(212 152 205) | |
| HSL | hsl(307 41.1% 71.37%) | |
| OKLCH | oklch(0.75 0.1 330.58) | |
| CMYK | cmyk(0% 28.3% 3.3% 16.86%) | |
| Android | #ffd498cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.28:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.17: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="#d498cd"
Gradient stop
<stop stop-color="#d498cd"/>
CSS variable + fill
:root { --c: #d498cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d498cd; background-color: #d498cd; bg-[#d498cd]