Skip to content
Vectorlight.net

#f2628e

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

HEX
#f2628e
RGB
242, 98, 142
HSL
341.67°, 84.71%, 66.67%
OKLCH
0.69 0.18 4.11
Names
—
Lists

Codes

FormatValue
HEX#f2628e
RGBrgb(242 98 142)
HSLhsl(341.67 84.71% 66.67%)
OKLCHoklch(0.69 0.18 4.11)
CMYKcmyk(0% 59.5% 41.32% 5.1%)
Android#fff2628e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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