Skip to content
Vectorlight.net

#f245ab

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

HEX
#f245ab
RGB
242, 69, 171
HSL
324.62°, 86.93%, 60.98%
OKLCH
0.67 0.23 348.87
Names
—
Lists

Codes

FormatValue
HEX#f245ab
RGBrgb(242 69 171)
HSLhsl(324.62 86.93% 60.98%)
OKLCHoklch(0.67 0.23 348.87)
CMYKcmyk(0% 71.49% 29.34% 5.1%)
Android#fff245ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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