Skip to content
Vectorlight.net

#302a2e

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

HEX
#302a2e
RGB
48, 42, 46
HSL
320°, 6.67%, 17.65%
OKLCH
0.29 0.01 338.02
Names
—
Lists

Codes

FormatValue
HEX#302a2e
RGBrgb(48 42 46)
HSLhsl(320 6.67% 17.65%)
OKLCHoklch(0.29 0.01 338.02)
CMYKcmyk(0% 12.5% 4.17% 81.18%)
Android#ff302a2e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #302a2e;
background-color: #302a2e;
bg-[#302a2e]