Skip to content
Vectorlight.net

#f07bda

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

HEX
#f07bda
RGB
240, 123, 218
HSL
311.28°, 79.59%, 71.18%
OKLCH
0.75 0.18 334.8
Names
—
Lists

Codes

FormatValue
HEX#f07bda
RGBrgb(240 123 218)
HSLhsl(311.28 79.59% 71.18%)
OKLCHoklch(0.75 0.18 334.8)
CMYKcmyk(0% 48.75% 9.17% 5.88%)
Android#fff07bda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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