Skip to content
Vectorlight.net

#ff342a

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

HEX
#ff342a
RGB
255, 52, 42
HSL
2.82°, 100%, 58.24%
OKLCH
0.65 0.24 28.73
Names
—
Lists

Codes

FormatValue
HEX#ff342a
RGBrgb(255 52 42)
HSLhsl(2.82 100% 58.24%)
OKLCHoklch(0.65 0.24 28.73)
CMYKcmyk(0% 79.61% 83.53% 0%)
Android#ffff342a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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