Skip to content

#ff0f39

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

RGB
255, 15, 57
HSL
350°, 100%, 53%
CMYK
0, 94, 78, 0
Luminance
0.2190

Every format

HEX#ff0f39
RGBrgb(255, 15, 57)
HSLhsl(350, 100%, 53%)
CMYKcmyk(0%, 94%, 78%, 0%)
LABlab(53.9 79.9 45.0)
LCHlch(53.9 91.7 29.4)
OKLCHoklch(0.634 0.252 22.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff0f39 on white: 3.90:1
AA ✗ fail · AA-large · AAA
Aa
#ff0f39 on black: 5.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green5.9%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta94.1%
Yellow77.6%
Key (black)0.0%

Color previews

#ff0f39 text on a black background

contrast 5.38:1

Card sample

#ff0f39 text on a white background

contrast 3.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff0f39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff0f39 in the Color Lab