Skip to content

#ff2048

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

RGB
255, 32, 72
HSL
349°, 100%, 56%
CMYK
0, 88, 72, 0
Luminance
0.2276

Every format

HEX#ff2048
RGBrgb(255, 32, 72)
HSLhsl(349, 100%, 56%)
CMYKcmyk(0%, 88%, 72%, 0%)
LABlab(54.8 78.3 37.5)
LCHlch(54.8 86.8 25.6)
OKLCHoklch(0.641 0.245 20.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff2048 on white: 3.78:1
AA ✗ fail · AA-large · AAA
Aa
#ff2048 on black: 5.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green12.5%
Blue28.2%

CMYK percentages

Cyan0.0%
Magenta87.5%
Yellow71.8%
Key (black)0.0%

Color previews

#ff2048 text on a black background

contrast 5.55:1

Card sample

#ff2048 text on a white background

contrast 3.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2048

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2048 in the Color Lab