#cf268e
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 | #cf268e | |
| RGB | rgb(207 38 142) | |
| HSL | hsl(323.08 68.98% 48.04%) | |
| OKLCH | oklch(0.58 0.22 349.04) | |
| CMYK | cmyk(0% 81.64% 31.4% 18.82%) | |
| Android | #ffcf268e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.86:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.32: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="#cf268e"
Gradient stop
<stop stop-color="#cf268e"/>
CSS variable + fill
:root { --c: #cf268e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf268e; background-color: #cf268e; bg-[#cf268e]