Skip to content

#cb2fce

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

RGB
203, 47, 206
HSL
299°, 63%, 50%
CMYK
2, 77, 0, 19
Luminance
0.1919

Every format

HEX#cb2fce
RGBrgb(203, 47, 206)
HSLhsl(299, 63%, 50%)
CMYKcmyk(2%, 77%, 0%, 19%)
LABlab(50.9 76.0 -48.8)
LCHlch(50.9 90.3 327.3)
OKLCHoklch(0.610 0.250 327.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb2fce on white: 4.34:1
AA ✗ fail · AA-large · AAA
Aa
#cb2fce on black: 4.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green18.4%
Blue80.8%

CMYK percentages

Cyan1.5%
Magenta77.2%
Yellow0.0%
Key (black)19.2%

Color previews

#cb2fce text on a black background

contrast 4.84:1

Card sample

#cb2fce text on a white background

contrast 4.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb2fce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb2fce in the Color Lab