Skip to content
Vectorlight.net

#c1287f

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

HEX
#c1287f
RGB
193, 40, 127
HSL
325.88°, 65.67%, 45.69%
OKLCH
0.55 0.2 351.45
Names
—
Lists

Codes

FormatValue
HEX#c1287f
RGBrgb(193 40 127)
HSLhsl(325.88 65.67% 45.69%)
OKLCHoklch(0.55 0.2 351.45)
CMYKcmyk(0% 79.27% 34.2% 24.31%)
Android#ffc1287f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.41:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.87:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#c1287f"
Gradient stop
<stop stop-color="#c1287f"/>
CSS variable + fill
:root { --c: #c1287f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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