Skip to content

#ca0213

a dark, electric red · warm · closest name: firebrick

RGB
202, 2, 19
HSL
355°, 98%, 40%
CMYK
0, 99, 91, 21
Luminance
0.1265

Every format

HEX#ca0213
RGBrgb(202, 2, 19)
HSLhsl(355, 98%, 40%)
CMYKcmyk(0%, 99%, 91%, 21%)
LABlab(42.2 67.2 49.8)
LCHlch(42.2 83.6 36.5)
OKLCHoklch(0.528 0.215 27.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ca0213 on white: 5.95:1
AA ✓ pass · AA-large · AAA
Aa
#ca0213 on black: 3.53:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green0.8%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta99.0%
Yellow90.6%
Key (black)20.8%

Color previews

#ca0213 text on a black background

contrast 3.53:1

Card sample

#ca0213 text on a white background

contrast 5.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 2, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 2, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ca0213;
background: linear-gradient(135deg, #ca0213, #CA7602);

Monochromatic scale

Palettes built from #ca0213

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ca0213 in the Color Lab