Skip to content

#fc2f4f

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

RGB
252, 47, 79
HSL
351°, 97%, 59%
CMYK
0, 81, 69, 1
Luminance
0.2329

Every format

HEX#fc2f4f
RGBrgb(252, 47, 79)
HSLhsl(351, 97%, 59%)
CMYKcmyk(0%, 81%, 69%, 1%)
LABlab(55.4 74.9 33.9)
LCHlch(55.4 82.2 24.4)
OKLCHoklch(0.645 0.235 19.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2f4f on white: 3.71:1
AA ✗ fail · AA-large · AAA
Aa
#fc2f4f on black: 5.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green18.4%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta81.3%
Yellow68.7%
Key (black)1.2%

Color previews

#fc2f4f text on a black background

contrast 5.66:1

Card sample

#fc2f4f text on a white background

contrast 3.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2f4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2f4f in the Color Lab