Skip to content

#cb0213

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

RGB
203, 2, 19
HSL
355°, 98%, 40%
CMYK
0, 99, 91, 20
Luminance
0.1279

Every format

HEX#cb0213
RGBrgb(203, 2, 19)
HSLhsl(355, 98%, 40%)
CMYKcmyk(0%, 99%, 91%, 20%)
LABlab(42.5 67.5 50.0)
LCHlch(42.5 84.0 36.5)
OKLCHoklch(0.530 0.215 27.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb0213 on white: 5.90:1
AA ✓ pass · AA-large · AAA
Aa
#cb0213 on black: 3.56:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green0.8%
Blue7.5%

CMYK percentages

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

Color previews

#cb0213 text on a black background

contrast 3.56:1

Card sample

#cb0213 text on a white background

contrast 5.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb0213

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb0213 in the Color Lab