Skip to content
Vectorlight.net

#f0367b

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

HEX
#f0367b
RGB
240, 54, 123
HSL
337.74°, 86.11%, 57.65%
OKLCH
0.64 0.22 4.35
Names
—
Lists

Codes

FormatValue
HEX#f0367b
RGBrgb(240 54 123)
HSLhsl(337.74 86.11% 57.65%)
OKLCHoklch(0.64 0.22 4.35)
CMYKcmyk(0% 77.5% 48.75% 5.88%)
Android#fff0367b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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