Skip to content

#cf2a3e

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

RGB
207, 42, 62
HSL
353°, 66%, 49%
CMYK
0, 80, 70, 19
Luminance
0.1527

Every format

HEX#cf2a3e
RGBrgb(207, 42, 62)
HSLhsl(353, 66%, 49%)
CMYKcmyk(0%, 80%, 70%, 19%)
LABlab(46.0 63.2 30.6)
LCHlch(46.0 70.2 25.8)
OKLCHoklch(0.559 0.199 20.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2a3e on white: 5.18:1
AA ✓ pass · AA-large · AAA
Aa
#cf2a3e on black: 4.05:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green16.5%
Blue24.3%

CMYK percentages

Cyan0.0%
Magenta79.7%
Yellow70.0%
Key (black)18.8%

Color previews

#cf2a3e text on a black background

contrast 4.05:1

Card sample

#cf2a3e text on a white background

contrast 5.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 42, 62, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 42, 62, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf2a3e;
background: linear-gradient(135deg, #cf2a3e, #CF842A);

Monochromatic scale

Palettes built from #cf2a3e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf2a3e in the Color Lab