Skip to content
Vectorlight.net

#cb317d

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

HEX
#cb317d
RGB
203, 49, 125
HSL
330.39°, 61.11%, 49.41%
OKLCH
0.57 0.2 355.58
Names
—
Lists

Codes

FormatValue
HEX#cb317d
RGBrgb(203 49 125)
HSLhsl(330.39 61.11% 49.41%)
OKLCHoklch(0.57 0.2 355.58)
CMYKcmyk(0% 75.86% 38.42% 20.39%)
Android#ffcb317d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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