Skip to content
Vectorlight.net

#f548dd

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

HEX
#f548dd
RGB
245, 72, 221
HSL
308.32°, 89.64%, 62.16%
OKLCH
0.7 0.26 334.2
Names
—
Lists

Codes

FormatValue
HEX#f548dd
RGBrgb(245 72 221)
HSLhsl(308.32 89.64% 62.16%)
OKLCHoklch(0.7 0.26 334.2)
CMYKcmyk(0% 70.61% 9.8% 3.92%)
Android#fff548dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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