Skip to content
Vectorlight.net

#b23398

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

HEX
#b23398
RGB
178, 51, 152
HSL
312.28°, 55.46%, 44.9%
OKLCH
0.55 0.19 337.37
Names
—
Lists

Codes

FormatValue
HEX#b23398
RGBrgb(178 51 152)
HSLhsl(312.28 55.46% 44.9%)
OKLCHoklch(0.55 0.19 337.37)
CMYKcmyk(0% 71.35% 14.61% 30.2%)
Android#ffb23398

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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