Skip to content
Vectorlight.net

#f841b2

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

HEX
#f841b2
RGB
248, 65, 178
HSL
322.95°, 92.89%, 61.37%
OKLCH
0.68 0.24 347.63
Names
—
Lists

Codes

FormatValue
HEX#f841b2
RGBrgb(248 65 178)
HSLhsl(322.95 92.89% 61.37%)
OKLCHoklch(0.68 0.24 347.63)
CMYKcmyk(0% 73.79% 28.23% 2.75%)
Android#fff841b2

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.28:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.39:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#f841b2"
Gradient stop
<stop stop-color="#f841b2"/>
CSS variable + fill
:root { --c: #f841b2; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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