Skip to content

#ca2ccf

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

RGB
202, 44, 207
HSL
298°, 65%, 49%
CMYK
2, 79, 0, 19
Luminance
0.1886

Every format

HEX#ca2ccf
RGBrgb(202, 44, 207)
HSLhsl(298, 65%, 49%)
CMYKcmyk(2%, 79%, 0%, 19%)
LABlab(50.5 76.7 -49.9)
LCHlch(50.5 91.5 326.9)
OKLCHoklch(0.607 0.253 326.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ca2ccf on white: 4.40:1
AA ✗ fail · AA-large · AAA
Aa
#ca2ccf on black: 4.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green17.3%
Blue81.2%

CMYK percentages

Cyan2.4%
Magenta78.7%
Yellow0.0%
Key (black)18.8%

Color previews

#ca2ccf text on a black background

contrast 4.77:1

Card sample

#ca2ccf text on a white background

contrast 4.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ca2ccf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ca2ccf in the Color Lab