Skip to content
Vectorlight.net

#970302

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

HEX
#970302
RGB
151, 3, 2
HSL
0.4°, 97.39%, 30%
OKLCH
0.43 0.17 29.17
Names
—
Lists

Codes

FormatValue
HEX#970302
RGBrgb(151 3 2)
HSLhsl(0.4 97.39% 30%)
OKLCHoklch(0.43 0.17 29.17)
CMYKcmyk(0% 98.01% 98.68% 40.78%)
Android#ff970302

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
9.01:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.32:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

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="#970302"
Gradient stop
<stop stop-color="#970302"/>
CSS variable + fill
:root { --c: #970302; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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