Skip to content
Vectorlight.net

#f138bc

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

HEX
#f138bc
RGB
241, 56, 188
HSL
317.19°, 86.85%, 58.24%
OKLCH
0.66 0.25 342.49
Names
—
Lists

Codes

FormatValue
HEX#f138bc
RGBrgb(241 56 188)
HSLhsl(317.19 86.85% 58.24%)
OKLCHoklch(0.66 0.25 342.49)
CMYKcmyk(0% 76.76% 21.99% 5.49%)
Android#fff138bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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