Skip to content

#fe7a21

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

RGB
254, 122, 33
HSL
24°, 99%, 56%
CMYK
0, 52, 87, 0
Luminance
0.3510

At a glance

Every number on this page in one read: what #fe7a21 is made of, how bright it looks, and which way it leans.

Hex
#fe7a21
Hue
24°
orange
Saturation
99%
electric
Lightness
56%
balanced
Brightness
100%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3510
WCAG relative
Temperature
Warm
3/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
8.02:1
Closest name
Dark Orange
ΔE2000 7.6
Where it sits
Hue24° of 360°
Saturation99%
Lightness56%
Temperature
Warm ← → Cool3% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#fe7a21
RGBrgb(254, 122, 33)
HSLhsl(24, 99%, 56%)
CMYKcmyk(0%, 52%, 87%, 0%)
LABlab(65.8 45.8 66.3)
LCHlch(65.8 80.6 55.4)
OKLCHoklch(0.723 0.184 48.3)
Decimal16677409
Display P3color(display-p3 0.996 0.478 0.129)

Copy-ready code

/* CSS */
color: #fe7a21;
background-color: #fe7a21;
/* Tailwind (arbitrary) */
class="text-[#fe7a21] bg-[#fe7a21]"
/* SCSS */
$brand: #fe7a21;
/* SwiftUI */
Color(red: 0.996, green: 0.478, blue: 0.129)
/* Android */
Color.parseColor("#fe7a21")
/* Flutter */
Color(0xFFFE7A21)
/* Python / OpenCV (BGR) */
(33, 122, 254)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #fe7a21 · 8.02:1
Use #000000AAA at every size.
Aa
White text · 2.62:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.02:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #fe7a21 as text scores 2.62:1 on white and 8.02:1 on black.

Accessibility — WCAG contrast

Aa
#fe7a21 on white: 2.62:1
AA ✗ fail · AA-large · AAA
Aa
#fe7a21 on black: 8.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A08D09
deuteranopia · #C0AB1C
tritanopia · #FF5B6A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #fe7a21 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FEF6F1
#FCEDE3
#FBD8C0
#FEBC8F
#FE9B57
#fe7a21
#F46301
#CB5201
#A24201
#753205
#492003
Base = 500Lightest = 50 · #FEF6F1Darkest = 950 · #492003
:root {
  --brand-50: #FEF6F1;
  --brand-100: #FCEDE3;
  --brand-200: #FBD8C0;
  --brand-300: #FEBC8F;
  --brand-400: #FE9B57;
  --brand-500: #fe7a21;
  --brand-600: #F46301;
  --brand-700: #CB5201;
  --brand-800: #A24201;
  --brand-900: #753205;
  --brand-950: #492003;
  --brand: #fe7a21;
  --brand-ink: #000000;
}

Colors that work with #fe7a21

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF7F4
Tinted page background
Border#EDD2C0
Hairlines and dividers
Muted text#9B6B4B
Captions on the surface
Accent#00ADCC
Second voice, not a rival
Dark variant#7F3401
Hover, pressed, headers
Light variant#FFF0E6
Selected rows, tints
Dark surface#241A14
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #fe7a21

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#21A5FE
Analogous left#FE2136
Analogous right#FEE921
Split-complement 1#21FEE9
Split-complement 2#2136FE
Triadic 1#21FE7A
Triadic 2#7A21FE
Tetradic#36FE21

RGB percentages

Red99.6%
Green47.8%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta52.0%
Yellow87.0%
Key (black)0.4%

Color previews

#fe7a21 text on a black background

contrast 8.02:1

Card sample

#fe7a21 text on a white background

contrast 2.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe7a21

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#fe7a21 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
E-commerceFood deliveryLogisticsCreator tools
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#fe7a21, answered

What color is #fe7a21?

#fe7a21 is a balanced electric orange, closest to Dark Orange (ΔE2000 7.6). It sits at 24° on the hue wheel with 99% saturation and 56% lightness, which reads as warm.

What is the RGB value of #fe7a21?

rgb(254, 122, 33) — 254 red, 122 green and 33 blue out of 255, or 99.6% / 47.8% / 12.9% by channel.

Is #fe7a21 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3510 and perceived brightness is 66%, so black text on it reaches 8.02:1.

Should I use black or white text on #fe7a21?

Black. It scores 8.02:1 against #fe7a21, versus 2.62:1 for white — AAA at any size.

What is the complementary color of #fe7a21?

#21A5FE sits directly opposite on the wheel. Softer options are the split-complements #21FEE9 and #2136FE, which give the same contrast with far less vibration.

What colors go well with #fe7a21?

For interface work: #FAF7F4 as the surface, #EDD2C0 for borders, #9B6B4B for secondary text, #00ADCC as an accent and #7F3401 for hover and pressed states. For a palette, the analogous pair #FE2136 and #FEE921 stays calm, while #21A5FE is the loudest partner.

What is #fe7a21 in CMYK for printing?

cmyk(0%, 52%, 87%, 0%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #fe7a21 warm or cool?

Warm — it scores 3 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FE8B3B; nudged cooler, #FF2820.

Work with #fe7a21 in the Color Lab