Skip to content

#cb2ecf

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

RGB
203, 46, 207
HSL
299°, 64%, 50%
CMYK
2, 78, 0, 19
Luminance
0.1916

Every format

HEX#cb2ecf
RGBrgb(203, 46, 207)
HSLhsl(299, 64%, 50%)
CMYKcmyk(2%, 78%, 0%, 19%)
LABlab(50.9 76.4 -49.4)
LCHlch(50.9 91.0 327.1)
OKLCHoklch(0.610 0.252 327.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb2ecf on white: 4.35:1
AA ✗ fail · AA-large · AAA
Aa
#cb2ecf on black: 4.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green18.0%
Blue81.2%

CMYK percentages

Cyan1.9%
Magenta77.8%
Yellow0.0%
Key (black)18.8%

Color previews

#cb2ecf text on a black background

contrast 4.83:1

Card sample

#cb2ecf text on a white background

contrast 4.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb2ecf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb2ecf in the Color Lab