Skip to content
Vectorlight.net

#f00342

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

HEX
#f00342
RGB
240, 3, 66
HSL
344.05°, 97.53%, 47.65%
OKLCH
0.61 0.24 19.33
Names
—
Lists

Codes

FormatValue
HEX#f00342
RGBrgb(240 3 66)
HSLhsl(344.05 97.53% 47.65%)
OKLCHoklch(0.61 0.24 19.33)
CMYKcmyk(0% 98.75% 72.5% 5.88%)
Android#fff00342

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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