Skip to content

#f23f21

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

RGB
242, 63, 33
HSL
9°, 89%, 54%
CMYK
0, 74, 86, 5
Luminance
0.2254

Every format

HEX#f23f21
RGBrgb(242, 63, 33)
HSLhsl(9, 89%, 54%)
CMYKcmyk(0%, 74%, 86%, 5%)
LABlab(54.6 66.2 56.6)
LCHlch(54.6 87.1 40.6)
OKLCHoklch(0.634 0.219 32.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f23f21 on white: 3.81:1
AA ✗ fail · AA-large · AAA
Aa
#f23f21 on black: 5.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green24.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta74.0%
Yellow86.4%
Key (black)5.1%

Color previews

#f23f21 text on a black background

contrast 5.51:1

Card sample

#f23f21 text on a white background

contrast 3.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f23f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f23f21 in the Color Lab