Skip to content
Vectorlight.net

#f340b3

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

HEX
#f340b3
RGB
243, 64, 179
HSL
321.45°, 88.18%, 60.2%
OKLCH
0.67 0.24 346.12
Names
—
Lists

Codes

FormatValue
HEX#f340b3
RGBrgb(243 64 179)
HSLhsl(321.45 88.18% 60.2%)
OKLCHoklch(0.67 0.24 346.12)
CMYKcmyk(0% 73.66% 26.34% 4.71%)
Android#fff340b3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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