Skip to content

#f03435

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

RGB
240, 52, 53
HSL
360°, 86%, 57%
CMYK
0, 78, 78, 6
Luminance
0.2124

Every format

HEX#f03435
RGBrgb(240, 52, 53)
HSLhsl(360, 86%, 57%)
CMYKcmyk(0%, 78%, 78%, 6%)
LABlab(53.2 69.4 45.5)
LCHlch(53.2 83.0 33.3)
OKLCHoklch(0.624 0.223 26.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f03435 on white: 4.00:1
AA ✗ fail · AA-large · AAA
Aa
#f03435 on black: 5.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green20.4%
Blue20.8%

CMYK percentages

Cyan0.0%
Magenta78.3%
Yellow77.9%
Key (black)5.9%

Color previews

#f03435 text on a black background

contrast 5.25:1

Card sample

#f03435 text on a white background

contrast 4.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f03435

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f03435 in the Color Lab