Skip to content
Vectorlight.net

#38020c

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

HEX
#38020c
RGB
56, 2, 12
HSL
348.89°, 93.1%, 11.37%
OKLCH
0.22 0.08 16.6
Names
—
Lists

Codes

FormatValue
HEX#38020c
RGBrgb(56 2 12)
HSLhsl(348.89 93.1% 11.37%)
OKLCHoklch(0.22 0.08 16.6)
CMYKcmyk(0% 96.43% 78.57% 78.04%)
Android#ff38020c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #38020c;
background-color: #38020c;
bg-[#38020c]