Skip to content
Vectorlight.net

#ff021b

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

HEX
#ff021b
RGB
255, 2, 27
HSL
354.07°, 100%, 50.39%
OKLCH
0.63 0.26 27.34
Names
—
Lists

Codes

FormatValue
HEX#ff021b
RGBrgb(255 2 27)
HSLhsl(354.07 100% 50.39%)
OKLCHoklch(0.63 0.26 27.34)
CMYKcmyk(0% 99.22% 89.41% 0%)
Android#ffff021b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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