Skip to content

#ff4057

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

RGB
255, 64, 87
HSL
353°, 100%, 63%
CMYK
0, 75, 66, 0
Luminance
0.2561

Every format

HEX#ff4057
RGBrgb(255, 64, 87)
HSLhsl(353, 100%, 63%)
CMYKcmyk(0%, 75%, 66%, 0%)
LABlab(57.7 71.5 32.2)
LCHlch(57.7 78.5 24.2)
OKLCHoklch(0.663 0.225 19.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff4057 on white: 3.43:1
AA ✗ fail · AA-large · AAA
Aa
#ff4057 on black: 6.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green25.1%
Blue34.1%

CMYK percentages

Cyan0.0%
Magenta74.9%
Yellow65.9%
Key (black)0.0%

Color previews

#ff4057 text on a black background

contrast 6.12:1

Card sample

#ff4057 text on a white background

contrast 3.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff4057

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff4057 in the Color Lab