Skip to content

#ce0fac

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

RGB
206, 15, 172
HSL
311°, 86%, 43%
CMYK
0, 93, 17, 19
Luminance
0.1644

Every format

HEX#ce0fac
RGBrgb(206, 15, 172)
HSLhsl(311, 86%, 43%)
CMYKcmyk(0%, 93%, 17%, 19%)
LABlab(47.5 77.7 -34.2)
LCHlch(47.5 84.9 336.3)
OKLCHoklch(0.581 0.249 338.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce0fac on white: 4.90:1
AA ✓ pass · AA-large · AAA
Aa
#ce0fac on black: 4.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green5.9%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta92.7%
Yellow16.5%
Key (black)19.2%

Color previews

#ce0fac text on a black background

contrast 4.29:1

Card sample

#ce0fac text on a white background

contrast 4.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce0fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce0fac in the Color Lab