Skip to content

#ce2f9c

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

RGB
206, 47, 156
HSL
319°, 63%, 50%
CMYK
0, 77, 24, 19
Luminance
0.1756

Every format

HEX#ce2f9c
RGBrgb(206, 47, 156)
HSLhsl(319, 63%, 50%)
CMYKcmyk(0%, 77%, 24%, 19%)
LABlab(49.0 69.5 -22.5)
LCHlch(49.0 73.1 342.1)
OKLCHoklch(0.589 0.219 344.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2f9c on white: 4.66:1
AA ✓ pass · AA-large · AAA
Aa
#ce2f9c on black: 4.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green18.4%
Blue61.2%

CMYK percentages

Cyan0.0%
Magenta77.2%
Yellow24.3%
Key (black)19.2%

Color previews

#ce2f9c text on a black background

contrast 4.51:1

Card sample

#ce2f9c text on a white background

contrast 4.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2f9c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2f9c in the Color Lab