Skip to content
Vectorlight.net

#f0104b

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

HEX
#f0104b
RGB
240, 16, 75
HSL
344.2°, 88.19%, 50.2%
OKLCH
0.61 0.24 17.31
Names
—
Lists

Codes

FormatValue
HEX#f0104b
RGBrgb(240 16 75)
HSLhsl(344.2 88.19% 50.2%)
OKLCHoklch(0.61 0.24 17.31)
CMYKcmyk(0% 93.33% 68.75% 5.88%)
Android#fff0104b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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