Skip to content

#ff4064

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

RGB
255, 64, 100
HSL
349°, 100%, 63%
CMYK
0, 75, 61, 0
Luminance
0.2585

Every format

HEX#ff4064
RGBrgb(255, 64, 100)
HSLhsl(349, 100%, 63%)
CMYKcmyk(0%, 75%, 61%, 0%)
LABlab(57.9 72.3 24.9)
LCHlch(57.9 76.4 19.0)
OKLCHoklch(0.665 0.225 15.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff4064 on white: 3.40:1
AA ✗ fail · AA-large · AAA
Aa
#ff4064 on black: 6.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green25.1%
Blue39.2%

CMYK percentages

Cyan0.0%
Magenta74.9%
Yellow60.8%
Key (black)0.0%

Color previews

#ff4064 text on a black background

contrast 6.17:1

Card sample

#ff4064 text on a white background

contrast 3.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff4064

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff4064 in the Color Lab