Skip to content
Vectorlight.net

#c904cd

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

HEX
#c904cd
RGB
201, 4, 205
HSL
298.81°, 96.17%, 40.98%
OKLCH
0.59 0.27 327.29
Names
—
Lists

Codes

FormatValue
HEX#c904cd
RGBrgb(201 4 205)
HSLhsl(298.81 96.17% 40.98%)
OKLCHoklch(0.59 0.27 327.29)
CMYKcmyk(1.95% 98.05% 0% 19.61%)
Android#ffc904cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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