Skip to content
Vectorlight.net

#b2285d

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

HEX
#b2285d
RGB
178, 40, 93
HSL
336.96°, 63.3%, 42.75%
OKLCH
0.51 0.18 3.06
Names
—
Lists

Codes

FormatValue
HEX#b2285d
RGBrgb(178 40 93)
HSLhsl(336.96 63.3% 42.75%)
OKLCHoklch(0.51 0.18 3.06)
CMYKcmyk(0% 77.53% 47.75% 30.2%)
Android#ffb2285d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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