Skip to content

#ca2ddf

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

RGB
202, 45, 223
HSL
293°, 74%, 53%
CMYK
9, 80, 0, 13
Luminance
0.1976

Every format

HEX#ca2ddf
RGBrgb(202, 45, 223)
HSLhsl(293, 74%, 53%)
CMYKcmyk(9%, 80%, 0%, 13%)
LABlab(51.6 79.1 -57.4)
LCHlch(51.6 97.7 324.0)
OKLCHoklch(0.618 0.264 322.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ca2ddf on white: 4.24:1
AA ✗ fail · AA-large · AAA
Aa
#ca2ddf on black: 4.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green17.6%
Blue87.5%

CMYK percentages

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

Color previews

#ca2ddf text on a black background

contrast 4.95:1

Card sample

#ca2ddf text on a white background

contrast 4.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ca2ddf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ca2ddf in the Color Lab