Skip to content

#ff1027

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

RGB
255, 16, 39
HSL
354°, 100%, 53%
CMYK
0, 94, 85, 0
Luminance
0.2178

Every format

HEX#ff1027
RGBrgb(255, 16, 39)
HSLhsl(354, 100%, 53%)
CMYKcmyk(0%, 94%, 85%, 0%)
LABlab(53.8 79.4 54.3)
LCHlch(53.8 96.2 34.4)
OKLCHoklch(0.633 0.253 26.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff1027 on white: 3.92:1
AA ✗ fail · AA-large · AAA
Aa
#ff1027 on black: 5.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green6.3%
Blue15.3%

CMYK percentages

Cyan0.0%
Magenta93.7%
Yellow84.7%
Key (black)0.0%

Color previews

#ff1027 text on a black background

contrast 5.36:1

Card sample

#ff1027 text on a white background

contrast 3.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff1027

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff1027 in the Color Lab