Skip to content
Vectorlight.net

#28271a

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

HEX
#28271a
RGB
40, 39, 26
HSL
55.71°, 21.21%, 12.94%
OKLCH
0.27 0.02 104.12
Names
—
Lists

Codes

FormatValue
HEX#28271a
RGBrgb(40 39 26)
HSLhsl(55.71 21.21% 12.94%)
OKLCHoklch(0.27 0.02 104.12)
CMYKcmyk(0% 2.5% 35% 84.31%)
Android#ff28271a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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