Skip to content

#ff2030

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

RGB
255, 32, 48
HSL
356°, 100%, 56%
CMYK
0, 88, 81, 0
Luminance
0.2251

Every format

HEX#ff2030
RGBrgb(255, 32, 48)
HSLhsl(356, 100%, 56%)
CMYKcmyk(0%, 88%, 81%, 0%)
LABlab(54.6 77.6 50.5)
LCHlch(54.6 92.5 33.0)
OKLCHoklch(0.638 0.247 25.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff2030 on white: 3.82:1
AA ✗ fail · AA-large · AAA
Aa
#ff2030 on black: 5.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green12.5%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta87.5%
Yellow81.2%
Key (black)0.0%

Color previews

#ff2030 text on a black background

contrast 5.50:1

Card sample

#ff2030 text on a white background

contrast 3.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2030

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2030 in the Color Lab