Skip to content
Vectorlight.net

#ff0c7d

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

HEX
#ff0c7d
RGB
255, 12, 125
HSL
332.1°, 100%, 52.35%
OKLCH
0.65 0.26 3.66
Names
—
Lists

Codes

FormatValue
HEX#ff0c7d
RGBrgb(255 12 125)
HSLhsl(332.1 100% 52.35%)
OKLCHoklch(0.65 0.26 3.66)
CMYKcmyk(0% 95.29% 50.98% 0%)
Android#ffff0c7d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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