Skip to content
Vectorlight.net

#c2018b

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

HEX
#c2018b
RGB
194, 1, 139
HSL
317.1°, 98.97%, 38.24%
OKLCH
0.54 0.23 345.78
Names
—
Lists

Codes

FormatValue
HEX#c2018b
RGBrgb(194 1 139)
HSLhsl(317.1 98.97% 38.24%)
OKLCHoklch(0.54 0.23 345.78)
CMYKcmyk(0% 99.48% 28.35% 23.92%)
Android#ffc2018b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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