Skip to content
Vectorlight.net

#1f2525

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

HEX
#1f2525
RGB
31, 37, 37
HSL
180°, 8.82%, 13.33%
OKLCH
0.26 0.01 196.63
Names
—
Lists

Codes

FormatValue
HEX#1f2525
RGBrgb(31 37 37)
HSLhsl(180 8.82% 13.33%)
OKLCHoklch(0.26 0.01 196.63)
CMYKcmyk(16.22% 0% 0% 85.49%)
Android#ff1f2525

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1f2525;
background-color: #1f2525;
bg-[#1f2525]