Skip to content

#cb30df

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

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

Every format

HEX#cb30df
RGBrgb(203, 48, 223)
HSLhsl(293, 73%, 53%)
CMYKcmyk(9%, 79%, 0%, 13%)
LABlab(52.0 78.5 -56.7)
LCHlch(52.0 96.8 324.1)
OKLCHoklch(0.621 0.262 322.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb30df on white: 4.18:1
AA ✗ fail · AA-large · AAA
Aa
#cb30df on black: 5.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green18.8%
Blue87.5%

CMYK percentages

Cyan9.0%
Magenta78.5%
Yellow0.0%
Key (black)12.5%

Color previews

#cb30df text on a black background

contrast 5.03:1

Card sample

#cb30df text on a white background

contrast 4.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb30df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb30df in the Color Lab