Skip to content

#ce40cd

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

RGB
206, 64, 205
HSL
300°, 59%, 53%
CMYK
0, 69, 1, 19
Luminance
0.2120

Every format

HEX#ce40cd
RGBrgb(206, 64, 205)
HSLhsl(300, 59%, 53%)
CMYKcmyk(0%, 69%, 1%, 19%)
LABlab(53.2 71.2 -44.5)
LCHlch(53.2 84.0 328.0)
OKLCHoklch(0.627 0.234 328.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce40cd on white: 4.01:1
AA ✗ fail · AA-large · AAA
Aa
#ce40cd on black: 5.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green25.1%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta68.9%
Yellow0.5%
Key (black)19.2%

Color previews

#ce40cd text on a black background

contrast 5.24:1

Card sample

#ce40cd text on a white background

contrast 4.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce40cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce40cd in the Color Lab