Skip to content
Vectorlight.net

#bd1218

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

HEX
#bd1218
RGB
189, 18, 24
HSL
357.89°, 82.61%, 40.59%
OKLCH
0.51 0.2 27.29
Names
—
Lists

Codes

FormatValue
HEX#bd1218
RGBrgb(189 18 24)
HSLhsl(357.89 82.61% 40.59%)
OKLCHoklch(0.51 0.2 27.29)
CMYKcmyk(0% 90.48% 87.3% 25.88%)
Android#ffbd1218

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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