Skip to content
Vectorlight.net

#c8228f

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

HEX
#c8228f
RGB
200, 34, 143
HSL
320.6°, 70.94%, 45.88%
OKLCH
0.57 0.22 346.68
Names
—
Lists

Codes

FormatValue
HEX#c8228f
RGBrgb(200 34 143)
HSLhsl(320.6 70.94% 45.88%)
OKLCHoklch(0.57 0.22 346.68)
CMYKcmyk(0% 83% 28.5% 21.57%)
Android#ffc8228f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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