Skip to content

#fc2f4b

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

RGB
252, 47, 75
HSL
352°, 97%, 59%
CMYK
0, 81, 70, 1
Luminance
0.2324

Every format

HEX#fc2f4b
RGBrgb(252, 47, 75)
HSLhsl(352, 97%, 59%)
CMYKcmyk(0%, 81%, 70%, 1%)
LABlab(55.3 74.7 36.1)
LCHlch(55.3 83.0 25.8)
OKLCHoklch(0.644 0.235 20.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2f4b on white: 3.72:1
AA ✗ fail · AA-large · AAA
Aa
#fc2f4b on black: 5.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green18.4%
Blue29.4%

CMYK percentages

Cyan0.0%
Magenta81.3%
Yellow70.2%
Key (black)1.2%

Color previews

#fc2f4b text on a black background

contrast 5.65:1

Card sample

#fc2f4b text on a white background

contrast 3.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2f4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2f4b in the Color Lab