Skip to content
Vectorlight.net

#ff7ba2

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

HEX
#ff7ba2
RGB
255, 123, 162
HSL
342.27°, 100%, 74.12%
OKLCH
0.75 0.16 3.25
Names
—
Lists

Codes

FormatValue
HEX#ff7ba2
RGBrgb(255 123 162)
HSLhsl(342.27 100% 74.12%)
OKLCHoklch(0.75 0.16 3.25)
CMYKcmyk(0% 51.76% 36.47% 0%)
Android#ffff7ba2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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