Skip to content
Kolorvia
#cb048a

Color #cb048a

A vivid, highly saturated medium magenta.

Conversions

HEX
#cb048a
RGB
rgb(203, 4, 138)
HSL
hsl(319.6, 96.1%, 40.6%)
HSV / HSB
hsv(319.6, 98%, 79.6%)
CMYK
cmyk(0%, 98%, 32%, 20.4%)
LAB
lab(45.11, 74.2, -17.62)
LCH
lch(45.11, 76.26, 346.64)
OKLCH
oklch(55.8%, 0.2325, 348.49)
HWB
hwb(319.6, 1.6%, 20.4%)

Harmony colors

Complementary

#04cb45

Analogous

#a904cb
#cb048a
#cb0427

Triadic

#cb048a
#8acb04
#048acb

Split-complementary

#cb048a
#27cb04
#04cba9

Tetradic

#cb048a
#cb4504
#04cb45
#048acb

Square

#cb048a
#cba904
#04cb45
#0427cb

Shades

Color #cb048a mixed toward black.

#a90373
#87035c
#660245
#44012e
#220117

Tints

Color #cb048a mixed toward white.

#fa07ab
#fb39bc
#fc6acc
#fd9cdd
#fecdee

Tones

Color #cb048a mixed toward gray.

#ba1584
#aa257f
#993679
#894673
#78576d

Accessibility

Aa White text on this color
5.35:1
Aa Black text on this color
3.92:1

White text reads better on this background (5.35:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#9d9c7a · ΔE 51.3

Deuteranopia

#a4ad75 · ΔE 62.4

Tritanopia

#c66a66 · ΔE 23.7

Achromatopsia

#6b6b6b · ΔE 28.2

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #cb048a;
Tailwind (arbitrary value)
bg-[#cb048a]

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#cb048a (#cb048a) is rgb(203, 4, 138) in RGB.

No, #cb048a is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #cb048a, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.