Skip to content
Vectorlight.net

#ba261d

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

HEX
#ba261d
RGB
186, 38, 29
HSL
3.44°, 73.02%, 42.16%
OKLCH
0.51 0.19 28.96
Names
—
Lists

Codes

FormatValue
HEX#ba261d
RGBrgb(186 38 29)
HSLhsl(3.44 73.02% 42.16%)
OKLCHoklch(0.51 0.19 28.96)
CMYKcmyk(0% 79.57% 84.41% 27.06%)
Android#ffba261d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #ba261d;
background-color: #ba261d;
bg-[#ba261d]