Skip to content
Vectorlight.net

#ff0066

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

HEX
#ff0066
RGB
255, 0, 102
HSL
336°, 100%, 50%
OKLCH
0.64 0.26 10.51
Names
—
Lists

Codes

FormatValue
HEX#ff0066
RGBrgb(255 0 102)
HSLhsl(336 100% 50%)
OKLCHoklch(0.64 0.26 10.51)
CMYKcmyk(0% 100% 60% 0%)
Android#ffff0066

Names & lists

Web-safe: Yes

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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