Skip to content
Vectorlight.net

#bf18a2

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

HEX
#bf18a2
RGB
191, 24, 162
HSL
310.42°, 77.67%, 42.16%
OKLCH
0.55 0.23 337.25
Names
—
Lists

Codes

FormatValue
HEX#bf18a2
RGBrgb(191 24 162)
HSLhsl(310.42 77.67% 42.16%)
OKLCHoklch(0.55 0.23 337.25)
CMYKcmyk(0% 87.43% 15.18% 25.1%)
Android#ffbf18a2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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