Skip to content

#cb2edf

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

RGB
203, 46, 223
HSL
293°, 73%, 53%
CMYK
9, 79, 0, 13
Luminance
0.1998

Every format

HEX#cb2edf
RGBrgb(203, 46, 223)
HSLhsl(293, 73%, 53%)
CMYKcmyk(9%, 79%, 0%, 13%)
LABlab(51.8 79.0 -57.0)
LCHlch(51.8 97.4 324.2)
OKLCHoklch(0.620 0.264 322.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb2edf on white: 4.20:1
AA ✗ fail · AA-large · AAA
Aa
#cb2edf on black: 5.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green18.0%
Blue87.5%

CMYK percentages

Cyan9.0%
Magenta79.4%
Yellow0.0%
Key (black)12.5%

Color previews

#cb2edf text on a black background

contrast 5.00:1

Card sample

#cb2edf text on a white background

contrast 4.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb2edf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb2edf in the Color Lab