Skip to content
Vectorlight.net

#f07cea

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

HEX
#f07cea
RGB
240, 124, 234
HSL
303.1°, 79.45%, 71.37%
OKLCH
0.75 0.19 329.23
Names
—
Lists

Codes

FormatValue
HEX#f07cea
RGBrgb(240 124 234)
HSLhsl(303.1 79.45% 71.37%)
OKLCHoklch(0.75 0.19 329.23)
CMYKcmyk(0% 48.33% 2.5% 5.88%)
Android#fff07cea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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