Skip to content
Vectorlight.net

#f230b2

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

HEX
#f230b2
RGB
242, 48, 178
HSL
319.79°, 88.18%, 56.86%
OKLCH
0.66 0.25 345.54
Names
—
Lists

Codes

FormatValue
HEX#f230b2
RGBrgb(242 48 178)
HSLhsl(319.79 88.18% 56.86%)
OKLCHoklch(0.66 0.25 345.54)
CMYKcmyk(0% 80.17% 26.45% 5.1%)
Android#fff230b2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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