Skip to content
Vectorlight.net

#cb317f

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

HEX
#cb317f
RGB
203, 49, 127
HSL
329.61°, 61.11%, 49.41%
OKLCH
0.57 0.2 354.74
Names
—
Lists

Codes

FormatValue
HEX#cb317f
RGBrgb(203 49 127)
HSLhsl(329.61 61.11% 49.41%)
OKLCHoklch(0.57 0.2 354.74)
CMYKcmyk(0% 75.86% 37.44% 20.39%)
Android#ffcb317f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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