Skip to content
Vectorlight.net

#f138e1

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

HEX
#f138e1
RGB
241, 56, 225
HSL
305.19°, 86.85%, 58.24%
OKLCH
0.68 0.27 332.09
Names
—
Lists

Codes

FormatValue
HEX#f138e1
RGBrgb(241 56 225)
HSLhsl(305.19 86.85% 58.24%)
OKLCHoklch(0.68 0.27 332.09)
CMYKcmyk(0% 76.76% 6.64% 5.49%)
Android#fff138e1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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