#f2dfd7
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 | #f2dfd7 | |
| RGB | rgb(242 223 215) | |
| HSL | hsl(17.78 50.94% 89.61%) | |
| OKLCH | oklch(0.92 0.02 44.33) | |
| CMYK | cmyk(0% 7.85% 11.16% 5.1%) | |
| Android | #fff2dfd7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.28:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
16.31: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="#f2dfd7"
Gradient stop
<stop stop-color="#f2dfd7"/>
CSS variable + fill
:root { --c: #f2dfd7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f2dfd7; background-color: #f2dfd7; bg-[#f2dfd7]