Skip to content
Vectorlight.net

#cf138e

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

HEX
#cf138e
RGB
207, 19, 142
HSL
320.74°, 83.19%, 44.31%
OKLCH
0.57 0.23 348.35
Names
—
Lists

Codes

FormatValue
HEX#cf138e
RGBrgb(207 19 142)
HSLhsl(320.74 83.19% 44.31%)
OKLCHoklch(0.57 0.23 348.35)
CMYKcmyk(0% 90.82% 31.4% 18.82%)
Android#ffcf138e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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