Skip to content
Vectorlight.net

#f07ddd

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#f07ddd
RGB
240, 125, 221
HSL
309.91°, 79.31%, 71.57%
OKLCH
0.75 0.18 333.76
Names
—
Lists

Codes

FormatValue
HEX#f07ddd
RGBrgb(240 125 221)
HSLhsl(309.91 79.31% 71.57%)
OKLCHoklch(0.75 0.18 333.76)
CMYKcmyk(0% 47.92% 7.92% 5.88%)
Android#fff07ddd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.41:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.68:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#f07ddd"
Gradient stop
<stop stop-color="#f07ddd"/>
CSS variable + fill
:root { --c: #f07ddd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #f07ddd;
background-color: #f07ddd;
bg-[#f07ddd]