Skip to content
Vectorlight.net

#f342cf

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

HEX
#f342cf
RGB
243, 66, 207
HSL
312.2°, 88.06%, 60.59%
OKLCH
0.68 0.25 337.57
Names
—
Lists

Codes

FormatValue
HEX#f342cf
RGBrgb(243 66 207)
HSLhsl(312.2 88.06% 60.59%)
OKLCHoklch(0.68 0.25 337.57)
CMYKcmyk(0% 72.84% 14.81% 4.71%)
Android#fff342cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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