Skip to content

#f25f2f

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

RGB
242, 95, 47
HSL
15°, 88%, 57%
CMYK
0, 61, 81, 5
Luminance
0.2727

Every format

HEX#f25f2f
RGBrgb(242, 95, 47)
HSLhsl(15, 88%, 57%)
CMYKcmyk(0%, 61%, 81%, 5%)
LABlab(59.2 54.2 54.5)
LCHlch(59.2 76.9 45.2)
OKLCHoklch(0.669 0.191 37.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f25f2f on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#f25f2f on black: 6.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green37.3%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta60.7%
Yellow80.6%
Key (black)5.1%

Color previews

#f25f2f text on a black background

contrast 6.45:1

Card sample

#f25f2f text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(242, 95, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 95, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f25f2f;
background: linear-gradient(135deg, #f25f2f, #F2E12F);

Monochromatic scale

Palettes built from #f25f2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f25f2f in the Color Lab