Skip to content

#e87821

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

RGB
232, 120, 33
HSL
26°, 81%, 52%
CMYK
0, 48, 86, 9
Luminance
0.3070

At a glance

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

Hex
#e87821
Hue
26°
orange
Saturation
81%
electric
Lightness
52%
balanced
Brightness
91%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3070
WCAG relative
Temperature
Warm
2/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
7.14:1
Closest name
Chocolate
ΔE2000 5.8
Where it sits
Hue26° of 360°
Saturation81%
Lightness52%
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#e87821
RGBrgb(232, 120, 33)
HSLhsl(26, 81%, 52%)
CMYKcmyk(0%, 48%, 86%, 9%)
LABlab(62.3 38.2 62.2)
LCHlch(62.3 73.0 58.4)
OKLCHoklch(0.689 0.165 52.1)
Decimal15235105
Display P3color(display-p3 0.910 0.471 0.129)

Copy-ready code

/* CSS */
color: #e87821;
background-color: #e87821;
/* Tailwind (arbitrary) */
class="text-[#e87821] bg-[#e87821]"
/* SCSS */
$brand: #e87821;
/* SwiftUI */
Color(red: 0.910, green: 0.471, blue: 0.129)
/* Android */
Color.parseColor("#e87821")
/* Flutter */
Color(0xFFE87821)
/* Python / OpenCV (BGR) */
(33, 120, 232)

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

Accessibility — WCAG contrast

Aa
#e87821 on white: 2.94:1
AA ✗ fail · AA-large · AAA
Aa
#e87821 on black: 7.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #99870C
deuteranopia · #B4A01E
tritanopia · #FF5F68

Color scale — 50 to 950

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

#FCF7F3
#F9EEE6
#F6DBC6
#F4C199
#EFA267
#e87821
#DE6E17
#B95C13
#94490F
#6B370F
#43230A
Base = 500Lightest = 50 · #FCF7F3Darkest = 950 · #43230A
:root {
  --brand-50: #FCF7F3;
  --brand-100: #F9EEE6;
  --brand-200: #F6DBC6;
  --brand-300: #F4C199;
  --brand-400: #EFA267;
  --brand-500: #e87821;
  --brand-600: #DE6E17;
  --brand-700: #B95C13;
  --brand-800: #94490F;
  --brand-900: #6B370F;
  --brand-950: #43230A;
  --brand: #e87821;
  --brand-ink: #000000;
}

Colors that work with #e87821

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#9B6E4B
Captions on the surface
Accent#0F9DBD
Second voice, not a rival
Dark variant#74390C
Hover, pressed, headers
Light variant#FDF1E8
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 #e87821

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#2191E8
Analogous left#E8212E
Analogous right#E8DB21
Split-complement 1#21E8DB
Split-complement 2#212EE8
Triadic 1#21E878
Triadic 2#7821E8
Tetradic#2EE821

RGB percentages

Red91.0%
Green47.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta48.3%
Yellow85.8%
Key (black)9.0%

Color previews

#e87821 text on a black background

contrast 7.14:1

Card sample

#e87821 text on a white background

contrast 2.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e87821

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.

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

#e87821, answered

What color is #e87821?

#e87821 is a balanced electric orange, closest to Chocolate (ΔE2000 5.8). It sits at 26° on the hue wheel with 81% saturation and 52% lightness, which reads as warm.

What is the RGB value of #e87821?

rgb(232, 120, 33) — 232 red, 120 green and 33 blue out of 255, or 91% / 47.1% / 12.9% by channel.

Is #e87821 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3070 and perceived brightness is 62%, so black text on it reaches 7.14:1.

Should I use black or white text on #e87821?

Black. It scores 7.14:1 against #e87821, versus 2.94:1 for white — AAA at any size.

What is the complementary color of #e87821?

#2191E8 sits directly opposite on the wheel. Softer options are the split-complements #21E8DB and #212EE8, which give the same contrast with far less vibration.

What colors go well with #e87821?

For interface work: #FAF7F4 as the surface, #EDD3C0 for borders, #9B6E4B for secondary text, #0F9DBD as an accent and #74390C for hover and pressed states. For a palette, the analogous pair #E8212E and #E8DB21 stays calm, while #2191E8 is the loudest partner.

What is #e87821 in CMYK for printing?

cmyk(0%, 48%, 86%, 9%). 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 #e87821 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 #EA8538; nudged cooler, #EA2D1F.

Work with #e87821 in the Color Lab