Skip to content
Vectorlight.net

#b02540

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

HEX
#b02540
RGB
176, 37, 64
HSL
348.35°, 65.26%, 41.76%
OKLCH
0.5 0.17 15.98
Names
—
Lists

Codes

FormatValue
HEX#b02540
RGBrgb(176 37 64)
HSLhsl(348.35 65.26% 41.76%)
OKLCHoklch(0.5 0.17 15.98)
CMYKcmyk(0% 78.98% 63.64% 30.98%)
Android#ffb02540

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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