Skip to content
Vectorlight.net

#f07ecd

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

HEX
#f07ecd
RGB
240, 126, 205
HSL
318.42°, 79.17%, 71.76%
OKLCH
0.74 0.17 340.12
Names
—
Lists

Codes

FormatValue
HEX#f07ecd
RGBrgb(240 126 205)
HSLhsl(318.42 79.17% 71.76%)
OKLCHoklch(0.74 0.17 340.12)
CMYKcmyk(0% 47.5% 14.58% 5.88%)
Android#fff07ecd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.45:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.57: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="#f07ecd"
Gradient stop
<stop stop-color="#f07ecd"/>
CSS variable + fill
:root { --c: #f07ecd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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