Skip to content
Vectorlight.net

#f07cbc

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

HEX
#f07cbc
RGB
240, 124, 188
HSL
326.9°, 79.45%, 71.37%
OKLCH
0.74 0.16 347.47
Names
—
Lists

Codes

FormatValue
HEX#f07cbc
RGBrgb(240 124 188)
HSLhsl(326.9 79.45% 71.37%)
OKLCHoklch(0.74 0.16 347.47)
CMYKcmyk(0% 48.33% 21.67% 5.88%)
Android#fff07cbc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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