Skip to content
Vectorlight.net

#38012a

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

HEX
#38012a
RGB
56, 1, 42
HSL
315.27°, 96.49%, 11.18%
OKLCH
0.23 0.1 341.22
Names
—
Lists

Codes

FormatValue
HEX#38012a
RGBrgb(56 1 42)
HSLhsl(315.27 96.49% 11.18%)
OKLCHoklch(0.23 0.1 341.22)
CMYKcmyk(0% 98.21% 25% 78.04%)
Android#ff38012a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #38012a;
background-color: #38012a;
bg-[#38012a]