Skip to content
Vectorlight.net

#c028bf

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

HEX
#c028bf
RGB
192, 40, 191
HSL
300.39°, 65.52%, 45.49%
OKLCH
0.58 0.24 328.44
Names
—
Lists

Codes

FormatValue
HEX#c028bf
RGBrgb(192 40 191)
HSLhsl(300.39 65.52% 45.49%)
OKLCHoklch(0.58 0.24 328.44)
CMYKcmyk(0% 79.17% 0.52% 24.71%)
Android#ffc028bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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