Skip to content
Vectorlight.net

#cb048f

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

HEX
#cb048f
RGB
203, 4, 143
HSL
318.09°, 96.14%, 40.59%
OKLCH
0.56 0.23 346.73
Names
—
Lists

Codes

FormatValue
HEX#cb048f
RGBrgb(203 4 143)
HSLhsl(318.09 96.14% 40.59%)
OKLCHoklch(0.56 0.23 346.73)
CMYKcmyk(0% 98.03% 29.56% 20.39%)
Android#ffcb048f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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