Skip to content
Vectorlight.net

#ff9ec1

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

HEX
#ff9ec1
RGB
255, 158, 193
HSL
338.35°, 100%, 80.98%
OKLCH
0.81 0.12 357.03
Names
—
Lists

Codes

FormatValue
HEX#ff9ec1
RGBrgb(255 158 193)
HSLhsl(338.35 100% 80.98%)
OKLCHoklch(0.81 0.12 357.03)
CMYKcmyk(0% 38.04% 24.31% 0%)
Android#ffff9ec1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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