Skip to content
Vectorlight.net

#f272bf

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

HEX
#f272bf
RGB
242, 114, 191
HSL
323.91°, 83.12%, 69.8%
OKLCH
0.73 0.18 345.39
Names
—
Lists

Codes

FormatValue
HEX#f272bf
RGBrgb(242 114 191)
HSLhsl(323.91 83.12% 69.8%)
OKLCHoklch(0.73 0.18 345.39)
CMYKcmyk(0% 52.89% 21.07% 5.1%)
Android#fff272bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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