#d123ab
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 | #d123ab | |
| RGB | rgb(209 35 171) | |
| HSL | hsl(313.1 71.31% 47.84%) | |
| OKLCH | oklch(0.59 0.24 339.38) | |
| CMYK | cmyk(0% 83.25% 18.18% 18.04%) | |
| Android | #ffd123ab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.62:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.53:1
Pass 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="#d123ab"
Gradient stop
<stop stop-color="#d123ab"/>
CSS variable + fill
:root { --c: #d123ab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d123ab; background-color: #d123ab; bg-[#d123ab]