Skip to content

#f87021

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

RGB
248, 112, 33
HSL
22°, 94%, 55%
CMYK
0, 55, 87, 3
Luminance
0.3165

At a glance

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

Hex
#f87021
Hue
22°
orange
Saturation
94%
electric
Lightness
55%
balanced
Brightness
97%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3165
WCAG relative
Temperature
Warm
4/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
7.33:1
Closest name
Coral
ΔE2000 6.8
Where it sits
Hue22° of 360°
Saturation94%
Lightness55%
Temperature
Warm ← → Cool4% 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#f87021
RGBrgb(248, 112, 33)
HSLhsl(22, 94%, 55%)
CMYKcmyk(0%, 55%, 87%, 3%)
LABlab(63.1 48.3 63.8)
LCHlch(63.1 80.0 52.9)
OKLCHoklch(0.700 0.186 45.4)
Decimal16281633
Display P3color(display-p3 0.973 0.439 0.129)

Copy-ready code

/* CSS */
color: #f87021;
background-color: #f87021;
/* Tailwind (arbitrary) */
class="text-[#f87021] bg-[#f87021]"
/* SCSS */
$brand: #f87021;
/* SwiftUI */
Color(red: 0.973, green: 0.439, blue: 0.129)
/* Android */
Color.parseColor("#f87021")
/* Flutter */
Color(0xFFF87021)
/* Python / OpenCV (BGR) */
(33, 112, 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 #f87021 · 7.33:1
Use #000000AAA at every size.
Aa
White text · 2.86:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.33:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f87021 as text scores 2.86:1 on white and 7.33:1 on black.

Accessibility — WCAG contrast

Aa
#f87021 on white: 2.86:1
AA ✗ fail · AA-large · AAA
Aa
#f87021 on black: 7.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #97850E
deuteranopia · #B8A41A
tritanopia · #FF5062

Color scale — 50 to 950

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

#FDF6F2
#FBEDE4
#FAD6C2
#FCB992
#FA965C
#f87021
#ED5C07
#C64C06
#9E3D05
#722F08
#471D05
Base = 500Lightest = 50 · #FDF6F2Darkest = 950 · #471D05
:root {
  --brand-50: #FDF6F2;
  --brand-100: #FBEDE4;
  --brand-200: #FAD6C2;
  --brand-300: #FCB992;
  --brand-400: #FA965C;
  --brand-500: #f87021;
  --brand-600: #ED5C07;
  --brand-700: #C64C06;
  --brand-800: #9E3D05;
  --brand-900: #722F08;
  --brand-950: #471D05;
  --brand: #f87021;
  --brand-ink: #000000;
}

Colors that work with #f87021

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#EDD0C0
Hairlines and dividers
Muted text#9B684B
Captions on the surface
Accent#02B2CA
Second voice, not a rival
Dark variant#7C3004
Hover, pressed, headers
Light variant#FEEFE6
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 #f87021

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#21A9F8
Analogous left#F8213E
Analogous right#F8DB21
Split-complement 1#21F8DB
Split-complement 2#213EF8
Triadic 1#21F870
Triadic 2#7021F8
Tetradic#3EF821

RGB percentages

Red97.3%
Green43.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta54.8%
Yellow86.7%
Key (black)2.7%

Color previews

#f87021 text on a black background

contrast 7.33:1

Card sample

#f87021 text on a white background

contrast 2.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f87021

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.

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

#f87021, answered

What color is #f87021?

#f87021 is a balanced electric orange, closest to Coral (ΔE2000 6.8). It sits at 22° on the hue wheel with 94% saturation and 55% lightness, which reads as warm.

What is the RGB value of #f87021?

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

Is #f87021 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3165 and perceived brightness is 63%, so black text on it reaches 7.33:1.

Should I use black or white text on #f87021?

Black. It scores 7.33:1 against #f87021, versus 2.86:1 for white — AAA at any size.

What is the complementary color of #f87021?

#21A9F8 sits directly opposite on the wheel. Softer options are the split-complements #21F8DB and #213EF8, which give the same contrast with far less vibration.

What colors go well with #f87021?

For interface work: #FAF7F4 as the surface, #EDD0C0 for borders, #9B684B for secondary text, #02B2CA as an accent and #7C3004 for hover and pressed states. For a palette, the analogous pair #F8213E and #F8DB21 stays calm, while #21A9F8 is the loudest partner.

What is #f87021 in CMYK for printing?

cmyk(0%, 55%, 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 #f87021 warm or cool?

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

Work with #f87021 in the Color Lab