Skip to content
Vectorlight.net

#b2018b

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

HEX
#b2018b
RGB
178, 1, 139
HSL
313.22°, 98.88%, 35.1%
OKLCH
0.51 0.22 341.32
Names
—
Lists

Codes

FormatValue
HEX#b2018b
RGBrgb(178 1 139)
HSLhsl(313.22 98.88% 35.1%)
OKLCHoklch(0.51 0.22 341.32)
CMYKcmyk(0% 99.44% 21.91% 30.2%)
Android#ffb2018b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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