Skip to content

#fc0f39

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

RGB
252, 15, 57
HSL
349°, 98%, 52%
CMYK
0, 94, 77, 1
Luminance
0.2133

Every format

HEX#fc0f39
RGBrgb(252, 15, 57)
HSLhsl(349, 98%, 52%)
CMYKcmyk(0%, 94%, 77%, 1%)
LABlab(53.3 79.2 44.1)
LCHlch(53.3 90.7 29.1)
OKLCHoklch(0.628 0.249 22.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc0f39 on white: 3.99:1
AA ✗ fail · AA-large · AAA
Aa
#fc0f39 on black: 5.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green5.9%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta94.0%
Yellow77.4%
Key (black)1.2%

Color previews

#fc0f39 text on a black background

contrast 5.27:1

Card sample

#fc0f39 text on a white background

contrast 3.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc0f39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc0f39 in the Color Lab