Skip to content

#f5000c

a balanced, electric red · warm · closest name: red

RGB
245, 0, 12
HSL
357°, 100%, 48%
CMYK
0, 100, 95, 4
Luminance
0.1944

Every format

HEX#f5000c
RGBrgb(245, 0, 12)
HSLhsl(357, 100%, 48%)
CMYKcmyk(0%, 100%, 95%, 4%)
LABlab(51.2 77.8 62.1)
LCHlch(51.2 99.5 38.6)
OKLCHoklch(0.610 0.249 28.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5000c on white: 4.30:1
AA ✗ fail · AA-large · AAA
Aa
#f5000c on black: 4.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green0.0%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta100.0%
Yellow95.1%
Key (black)3.9%

Color previews

#f5000c text on a black background

contrast 4.89:1

Card sample

#f5000c text on a white background

contrast 4.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5000c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5000c in the Color Lab