Skip to content
Vectorlight.net

#f0214a

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

HEX
#f0214a
RGB
240, 33, 74
HSL
348.12°, 87.34%, 53.53%
OKLCH
0.62 0.23 18.69
Names
—
Lists

Codes

FormatValue
HEX#f0214a
RGBrgb(240 33 74)
HSLhsl(348.12 87.34% 53.53%)
OKLCHoklch(0.62 0.23 18.69)
CMYKcmyk(0% 86.25% 69.17% 5.88%)
Android#fff0214a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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