Skip to content

#ce0f7f

a dark, electric magenta / pink · warm · closest name: purple

RGB
206, 15, 127
HSL
325°, 86%, 43%
CMYK
0, 93, 38, 19
Luminance
0.1500

Every format

HEX#ce0f7f
RGBrgb(206, 15, 127)
HSLhsl(325, 86%, 43%)
CMYKcmyk(0%, 93%, 38%, 19%)
LABlab(45.6 72.7 -10.1)
LCHlch(45.6 73.4 352.1)
OKLCHoklch(0.561 0.226 353.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce0f7f on white: 5.25:1
AA ✓ pass · AA-large · AAA
Aa
#ce0f7f on black: 4.00:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green5.9%
Blue49.8%

CMYK percentages

Cyan0.0%
Magenta92.7%
Yellow38.3%
Key (black)19.2%

Color previews

#ce0f7f text on a black background

contrast 4.00:1

Card sample

#ce0f7f text on a white background

contrast 5.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 15, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 15, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ce0f7f;
background: linear-gradient(135deg, #ce0f7f, #CE1E0F);

Monochromatic scale

Palettes built from #ce0f7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce0f7f in the Color Lab