Skip to content
Vectorlight.net

#bb138d

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

HEX
#bb138d
RGB
187, 19, 141
HSL
316.43°, 81.55%, 40.39%
OKLCH
0.54 0.22 343.43
Names
—
Lists

Codes

FormatValue
HEX#bb138d
RGBrgb(187 19 141)
HSLhsl(316.43 81.55% 40.39%)
OKLCHoklch(0.54 0.22 343.43)
CMYKcmyk(0% 89.84% 24.6% 26.67%)
Android#ffbb138d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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