Skip to content

#cb2ccb

a balanced, vivid magenta / pink · warm · closest name: magenta

RGB
203, 44, 203
HSL
300°, 64%, 48%
CMYK
0, 78, 0, 20
Luminance
0.1881

Every format

HEX#cb2ccb
RGBrgb(203, 44, 203)
HSLhsl(300, 64%, 48%)
CMYKcmyk(0%, 78%, 0%, 20%)
LABlab(50.5 76.3 -47.7)
LCHlch(50.5 90.0 328.0)
OKLCHoklch(0.606 0.251 328.1)

Copy-ready code

/* CSS */
color: #cb2ccb;
background-color: #cb2ccb;
/* Tailwind (arbitrary) */
class="text-[#cb2ccb] bg-[#cb2ccb]"
/* SCSS */
$brand: #cb2ccb;
/* SwiftUI */
Color(red: 0.796, green: 0.173, blue: 0.796)
/* Android */
Color.parseColor("#cb2ccb")

Accessibility — WCAG contrast

Aa
#cb2ccb on white: 4.41:1
AA ✗ fail · AA-large · AAA
Aa
#cb2ccb on black: 4.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green17.3%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta78.3%
Yellow0.0%
Key (black)20.4%

Color previews

#cb2ccb text on a black background

contrast 4.76:1

Card sample

#cb2ccb text on a white background

contrast 4.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cb2ccb;
Background color
Panel with #cb2ccb background
background-color: #cb2ccb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cb2ccb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(203, 44, 203, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 44, 203, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cb2ccb;
background: linear-gradient(135deg, #cb2ccb, #CB2C61);

Monochromatic scale

Palettes built from #cb2ccb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb2ccb in the Color Lab