Skip to content
Vectorlight.net

#f234bc

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

HEX
#f234bc
RGB
242, 52, 188
HSL
317.05°, 87.96%, 57.65%
OKLCH
0.66 0.25 342.6
Names
—
Lists

Codes

FormatValue
HEX#f234bc
RGBrgb(242 52 188)
HSLhsl(317.05 87.96% 57.65%)
OKLCHoklch(0.66 0.25 342.6)
CMYKcmyk(0% 78.51% 22.31% 5.1%)
Android#fff234bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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