Skip to content
Vectorlight.net

#c28aa2

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

HEX
#c28aa2
RGB
194, 138, 162
HSL
334.29°, 31.46%, 65.1%
OKLCH
0.7 0.07 351.82
Names
—
Lists

Codes

FormatValue
HEX#c28aa2
RGBrgb(194 138 162)
HSLhsl(334.29 31.46% 65.1%)
OKLCHoklch(0.7 0.07 351.82)
CMYKcmyk(0% 28.87% 16.49% 23.92%)
Android#ffc28aa2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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