Skip to content
Vectorlight.net

#f2015f

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

HEX
#f2015f
RGB
242, 1, 95
HSL
336.6°, 99.18%, 47.65%
OKLCH
0.61 0.25 10.98
Names
—
Lists

Codes

FormatValue
HEX#f2015f
RGBrgb(242 1 95)
HSLhsl(336.6 99.18% 47.65%)
OKLCHoklch(0.61 0.25 10.98)
CMYKcmyk(0% 99.59% 60.74% 5.1%)
Android#fff2015f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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