Skip to content

#cb2cdf

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

RGB
203, 44, 223
HSL
293°, 74%, 52%
CMYK
9, 80, 0, 13
Luminance
0.1983

Every format

HEX#cb2cdf
RGBrgb(203, 44, 223)
HSLhsl(293, 74%, 52%)
CMYKcmyk(9%, 80%, 0%, 13%)
LABlab(51.6 79.5 -57.3)
LCHlch(51.6 98.0 324.2)
OKLCHoklch(0.619 0.265 322.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb2cdf on white: 4.23:1
AA ✗ fail · AA-large · AAA
Aa
#cb2cdf on black: 4.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green17.3%
Blue87.5%

CMYK percentages

Cyan9.0%
Magenta80.3%
Yellow0.0%
Key (black)12.5%

Color previews

#cb2cdf text on a black background

contrast 4.97:1

Card sample

#cb2cdf text on a white background

contrast 4.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb2cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb2cdf in the Color Lab