Skip to content

#c01f30

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

RGB
192, 31, 48
HSL
354°, 72%, 44%
CMYK
0, 84, 75, 25
Luminance
0.1240

Every format

HEX#c01f30
RGBrgb(192, 31, 48)
HSLhsl(354, 72%, 44%)
CMYKcmyk(0%, 84%, 75%, 25%)
LABlab(41.9 61.2 33.3)
LCHlch(41.9 69.6 28.6)
OKLCHoklch(0.522 0.193 22.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c01f30 on white: 6.03:1
AA ✓ pass · AA-large · AAA
Aa
#c01f30 on black: 3.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green12.2%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta83.9%
Yellow75.0%
Key (black)24.7%

Color previews

#c01f30 text on a black background

contrast 3.48:1

Card sample

#c01f30 text on a white background

contrast 6.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c01f30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c01f30 in the Color Lab