Skip to content
Vectorlight.net

#ff1862

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

HEX
#ff1862
RGB
255, 24, 98
HSL
340.78°, 100%, 54.71%
OKLCH
0.64 0.25 12.49
Names
—
Lists

Codes

FormatValue
HEX#ff1862
RGBrgb(255 24 98)
HSLhsl(340.78 100% 54.71%)
OKLCHoklch(0.64 0.25 12.49)
CMYKcmyk(0% 90.59% 61.57% 0%)
Android#ffff1862

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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