Skip to content
Vectorlight.net

#cf0138

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

HEX
#cf0138
RGB
207, 1, 56
HSL
343.98°, 99.04%, 40.78%
OKLCH
0.54 0.22 19.16
Names
—
Lists

Codes

FormatValue
HEX#cf0138
RGBrgb(207 1 56)
HSLhsl(343.98 99.04% 40.78%)
OKLCHoklch(0.54 0.22 19.16)
CMYKcmyk(0% 99.52% 72.95% 18.82%)
Android#ffcf0138

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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