Skip to content

#ca2fdf

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

RGB
202, 47, 223
HSL
293°, 73%, 53%
CMYK
9, 79, 0, 13
Luminance
0.1992

Every format

HEX#ca2fdf
RGBrgb(202, 47, 223)
HSLhsl(293, 73%, 53%)
CMYKcmyk(9%, 79%, 0%, 13%)
LABlab(51.8 78.5 -57.1)
LCHlch(51.8 97.1 324.0)
OKLCHoklch(0.619 0.263 322.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ca2fdf on white: 4.21:1
AA ✗ fail · AA-large · AAA
Aa
#ca2fdf on black: 4.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green18.4%
Blue87.5%

CMYK percentages

Cyan9.4%
Magenta78.9%
Yellow0.0%
Key (black)12.5%

Color previews

#ca2fdf text on a black background

contrast 4.98:1

Card sample

#ca2fdf text on a white background

contrast 4.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ca2fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ca2fdf in the Color Lab