Skip to content

#ff0f13

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

RGB
255, 15, 19
HSL
359°, 100%, 53%
CMYK
0, 94, 93, 0
Luminance
0.2165

Every format

HEX#ff0f13
RGBrgb(255, 15, 19)
HSLhsl(359, 100%, 53%)
CMYKcmyk(0%, 94%, 93%, 0%)
LABlab(53.7 79.2 62.4)
LCHlch(53.7 100.8 38.3)
OKLCHoklch(0.631 0.254 28.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff0f13 on white: 3.94:1
AA ✗ fail · AA-large · AAA
Aa
#ff0f13 on black: 5.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green5.9%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta94.1%
Yellow92.5%
Key (black)0.0%

Color previews

#ff0f13 text on a black background

contrast 5.33:1

Card sample

#ff0f13 text on a white background

contrast 3.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff0f13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff0f13 in the Color Lab