Skip to content

#ce2f6c

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

RGB
206, 47, 108
HSL
337°, 63%, 50%
CMYK
0, 77, 48, 19
Luminance
0.1624

Every format

HEX#ce2f6c
RGBrgb(206, 47, 108)
HSLhsl(337, 63%, 50%)
CMYKcmyk(0%, 77%, 48%, 19%)
LABlab(47.3 64.5 4.1)
LCHlch(47.3 64.6 3.6)
OKLCHoklch(0.571 0.198 3.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce2f6c on white: 4.94:1
AA ✓ pass · AA-large · AAA
Aa
#ce2f6c on black: 4.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green18.4%
Blue42.4%

CMYK percentages

Cyan0.0%
Magenta77.2%
Yellow47.6%
Key (black)19.2%

Color previews

#ce2f6c text on a black background

contrast 4.25:1

Card sample

#ce2f6c text on a white background

contrast 4.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce2f6c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce2f6c in the Color Lab