Skip to content

#ce2fac

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

RGB
206, 47, 172
HSL
313°, 63%, 50%
CMYK
0, 77, 17, 19
Luminance
0.1813

Every format

HEX#ce2fac
RGBrgb(206, 47, 172)
HSLhsl(313, 63%, 50%)
CMYKcmyk(0%, 77%, 17%, 19%)
LABlab(49.7 71.6 -30.9)
LCHlch(49.7 78.0 336.7)
OKLCHoklch(0.596 0.229 338.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2fac on white: 4.54:1
AA ✓ pass · AA-large · AAA
Aa
#ce2fac on black: 4.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green18.4%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta77.2%
Yellow16.5%
Key (black)19.2%

Color previews

#ce2fac text on a black background

contrast 4.63:1

Card sample

#ce2fac text on a white background

contrast 4.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2fac in the Color Lab