Skip to content

#ff8f21

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

RGB
255, 143, 33
HSL
30°, 100%, 57%
CMYK
0, 44, 87, 0
Luminance
0.4101

Every format

HEX#ff8f21
RGBrgb(255, 143, 33)
HSLhsl(30, 100%, 57%)
CMYKcmyk(0%, 44%, 87%, 0%)
LABlab(70.2 35.7 69.8)
LCHlch(70.2 78.4 62.9)
OKLCHoklch(0.756 0.173 57.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff8f21 on white: 2.28:1
AA ✗ fail · AA-large · AAA
Aa
#ff8f21 on black: 9.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green56.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta43.9%
Yellow87.1%
Key (black)0.0%

Color previews

#ff8f21 text on a black background

contrast 9.20:1

Card sample

#ff8f21 text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff8f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff8f21 in the Color Lab