Skip to content
Vectorlight.net

#28232c

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

HEX
#28232c
RGB
40, 35, 44
HSL
273.33°, 11.39%, 15.49%
OKLCH
0.27 0.02 310.04
Names
—
Lists

Codes

FormatValue
HEX#28232c
RGBrgb(40 35 44)
HSLhsl(273.33 11.39% 15.49%)
OKLCHoklch(0.27 0.02 310.04)
CMYKcmyk(9.09% 20.45% 0% 82.75%)
Android#ff28232c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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