Skip to content

#cf2edf

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

RGB
207, 46, 223
HSL
295°, 73%, 53%
CMYK
7, 79, 0, 13
Luminance
0.2055

Every format

HEX#cf2edf
RGBrgb(207, 46, 223)
HSLhsl(295, 73%, 53%)
CMYKcmyk(7%, 79%, 0%, 13%)
LABlab(52.5 79.7 -55.9)
LCHlch(52.5 97.4 324.9)
OKLCHoklch(0.625 0.265 323.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2edf on white: 4.11:1
AA ✗ fail · AA-large · AAA
Aa
#cf2edf on black: 5.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green18.0%
Blue87.5%

CMYK percentages

Cyan7.2%
Magenta79.4%
Yellow0.0%
Key (black)12.5%

Color previews

#cf2edf text on a black background

contrast 5.11:1

Card sample

#cf2edf text on a white background

contrast 4.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2edf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2edf in the Color Lab