Skip to content

#ce1f2f

a balanced, vivid red · warm · closest name: crimson

RGB
206, 31, 47
HSL
355°, 74%, 47%
CMYK
0, 85, 77, 19
Luminance
0.1431

Every format

HEX#ce1f2f
RGBrgb(206, 31, 47)
HSLhsl(355, 74%, 47%)
CMYKcmyk(0%, 85%, 77%, 19%)
LABlab(44.7 64.9 37.8)
LCHlch(44.7 75.2 30.2)
OKLCHoklch(0.548 0.206 23.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce1f2f on white: 5.44:1
AA ✓ pass · AA-large · AAA
Aa
#ce1f2f on black: 3.86:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green12.2%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta85.0%
Yellow77.2%
Key (black)19.2%

Color previews

#ce1f2f text on a black background

contrast 3.86:1

Card sample

#ce1f2f text on a white background

contrast 5.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce1f2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce1f2f in the Color Lab