Skip to content

#cf27db

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

RGB
207, 39, 219
HSL
296°, 71%, 51%
CMYK
6, 82, 0, 14
Luminance
0.1983

Every format

HEX#cf27db
RGBrgb(207, 39, 219)
HSLhsl(296, 71%, 51%)
CMYKcmyk(6%, 82%, 0%, 14%)
LABlab(51.6 80.7 -55.0)
LCHlch(51.6 97.7 325.8)
OKLCHoklch(0.619 0.268 325.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf27db on white: 4.23:1
AA ✗ fail · AA-large · AAA
Aa
#cf27db on black: 4.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green15.3%
Blue85.9%

CMYK percentages

Cyan5.5%
Magenta82.2%
Yellow0.0%
Key (black)14.1%

Color previews

#cf27db text on a black background

contrast 4.97:1

Card sample

#cf27db text on a white background

contrast 4.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf27db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf27db in the Color Lab