Skip to content

#f87e21

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

RGB
248, 126, 33
HSL
26°, 94%, 55%
CMYK
0, 49, 87, 3
Luminance
0.3499

At a glance

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

Hex
#f87e21
Hue
26°
orange
Saturation
94%
electric
Lightness
55%
balanced
Brightness
97%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3499
WCAG relative
Temperature
Warm
2/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
8.00:1
Closest name
Dark Orange
ΔE2000 6
Where it sits
Hue26° of 360°
Saturation94%
Lightness55%
Temperature
Warm ← → Cool2% 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#f87e21
RGBrgb(248, 126, 33)
HSLhsl(26, 94%, 55%)
CMYKcmyk(0%, 49%, 87%, 3%)
LABlab(65.7 41.5 65.9)
LCHlch(65.7 77.9 57.8)
OKLCHoklch(0.720 0.176 51.2)
Decimal16285217
Display P3color(display-p3 0.973 0.494 0.129)

Copy-ready code

/* CSS */
color: #f87e21;
background-color: #f87e21;
/* Tailwind (arbitrary) */
class="text-[#f87e21] bg-[#f87e21]"
/* SCSS */
$brand: #f87e21;
/* SwiftUI */
Color(red: 0.973, green: 0.494, blue: 0.129)
/* Android */
Color.parseColor("#f87e21")
/* Flutter */
Color(0xFFF87E21)
/* Python / OpenCV (BGR) */
(33, 126, 248)

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 #f87e21 · 8.00:1
Use #000000AAA at every size.
Aa
White text · 2.63:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.00:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f87e21 as text scores 2.63:1 on white and 8.00:1 on black.

Accessibility — WCAG contrast

Aa
#f87e21 on white: 2.63:1
AA ✗ fail · AA-large · AAA
Aa
#f87e21 on black: 8.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A28F08
deuteranopia · #BFAA1D
tritanopia · #FF626D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f87e21 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.

#FDF7F2
#FBEEE4
#FADAC2
#FCC092
#FAA05C
#f87e21
#ED6B07
#C65906
#9E4705
#723608
#472205
Base = 500Lightest = 50 · #FDF7F2Darkest = 950 · #472205
:root {
  --brand-50: #FDF7F2;
  --brand-100: #FBEEE4;
  --brand-200: #FADAC2;
  --brand-300: #FCC092;
  --brand-400: #FAA05C;
  --brand-500: #f87e21;
  --brand-600: #ED6B07;
  --brand-700: #C65906;
  --brand-800: #9E4705;
  --brand-900: #723608;
  --brand-950: #472205;
  --brand: #f87e21;
  --brand-ink: #000000;
}

Colors that work with #f87e21

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#EDD3C0
Hairlines and dividers
Muted text#9B6D4B
Captions on the surface
Accent#02A5CA
Second voice, not a rival
Dark variant#7C3804
Hover, pressed, headers
Light variant#FEF1E6
Selected rows, tints
Dark surface#241B14
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 #f87e21

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#219BF8
Analogous left#F8212F
Analogous right#F8EA21
Split-complement 1#21F8EA
Split-complement 2#212FF8
Triadic 1#21F87E
Triadic 2#7E21F8
Tetradic#2FF821

RGB percentages

Red97.3%
Green49.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta49.2%
Yellow86.7%
Key (black)2.7%

Color previews

#f87e21 text on a black background

contrast 8.00:1

Card sample

#f87e21 text on a white background

contrast 2.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f87e21

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.

#f87e21 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.

#f87e21, answered

What color is #f87e21?

#f87e21 is a balanced electric orange, closest to Dark Orange (ΔE2000 6). It sits at 26° on the hue wheel with 94% saturation and 55% lightness, which reads as warm.

What is the RGB value of #f87e21?

rgb(248, 126, 33) — 248 red, 126 green and 33 blue out of 255, or 97.3% / 49.4% / 12.9% by channel.

Is #f87e21 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3499 and perceived brightness is 65%, so black text on it reaches 8.00:1.

Should I use black or white text on #f87e21?

Black. It scores 8.00:1 against #f87e21, versus 2.63:1 for white — AAA at any size.

What is the complementary color of #f87e21?

#219BF8 sits directly opposite on the wheel. Softer options are the split-complements #21F8EA and #212FF8, which give the same contrast with far less vibration.

What colors go well with #f87e21?

For interface work: #FAF7F4 as the surface, #EDD3C0 for borders, #9B6D4B for secondary text, #02A5CA as an accent and #7C3804 for hover and pressed states. For a palette, the analogous pair #F8212F and #F8EA21 stays calm, while #219BF8 is the loudest partner.

What is #f87e21 in CMYK for printing?

cmyk(0%, 49%, 87%, 3%). 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 #f87e21 warm or cool?

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

Work with #f87e21 in the Color Lab