Skip to content
Vectorlight.net

#f2487f

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

HEX
#f2487f
RGB
242, 72, 127
HSL
340.59°, 86.73%, 61.57%
OKLCH
0.66 0.21 5.49
Names
—
Lists

Codes

FormatValue
HEX#f2487f
RGBrgb(242 72 127)
HSLhsl(340.59 86.73% 61.57%)
OKLCHoklch(0.66 0.21 5.49)
CMYKcmyk(0% 70.25% 47.52% 5.1%)
Android#fff2487f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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