Skip to content

#e47e21

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

RGB
228, 126, 33
HSL
29°, 78%, 51%
CMYK
0, 45, 86, 11
Luminance
0.3153

At a glance

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

Hex
#e47e21
Hue
29°
orange
Saturation
78%
electric
Lightness
51%
balanced
Brightness
89%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3153
WCAG relative
Temperature
Warm
1/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
7.31:1
Closest name
Peru
ΔE2000 5.7
Where it sits
Hue29° of 360°
Saturation78%
Lightness51%
Temperature
Warm ← → Cool1% 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#e47e21
RGBrgb(228, 126, 33)
HSLhsl(29, 78%, 51%)
CMYKcmyk(0%, 45%, 86%, 11%)
LABlab(63.0 33.5 62.5)
LCHlch(63.0 70.9 61.8)
OKLCHoklch(0.693 0.158 56.3)
Decimal14974497
Display P3color(display-p3 0.894 0.494 0.129)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#e47e21 on white: 2.87:1
AA ✗ fail · AA-large · AAA
Aa
#e47e21 on black: 7.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9C8A0A
deuteranopia · #B5A120
tritanopia · #FA676D

Color scale — 50 to 950

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

#FCF7F3
#F9EFE6
#F5DDC7
#F3C59B
#EDA869
#E78B37
#e47e21
#B66216
#914F12
#693B11
#42250B
Base = 600Lightest = 50 · #FCF7F3Darkest = 950 · #42250B
:root {
  --brand-50: #FCF7F3;
  --brand-100: #F9EFE6;
  --brand-200: #F5DDC7;
  --brand-300: #F3C59B;
  --brand-400: #EDA869;
  --brand-500: #E78B37;
  --brand-600: #e47e21;
  --brand-700: #B66216;
  --brand-800: #914F12;
  --brand-900: #693B11;
  --brand-950: #42250B;
  --brand: #e47e21;
  --brand-ink: #000000;
}

Colors that work with #e47e21

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#EDD5C0
Hairlines and dividers
Muted text#9B714B
Captions on the surface
Accent#1294BA
Second voice, not a rival
Dark variant#723D0E
Hover, pressed, headers
Light variant#FCF2E8
Selected rows, tints
Dark surface#241C14
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 #e47e21

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#2187E4
Analogous left#E42126
Analogous right#E4DF21
Split-complement 1#21E4DF
Split-complement 2#2126E4
Triadic 1#21E47E
Triadic 2#7E21E4
Tetradic#26E421

RGB percentages

Red89.4%
Green49.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta44.7%
Yellow85.5%
Key (black)10.6%

Color previews

#e47e21 text on a black background

contrast 7.31:1

Card sample

#e47e21 text on a white background

contrast 2.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e47e21

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.

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

#e47e21, answered

What color is #e47e21?

#e47e21 is a balanced electric orange, closest to Peru (ΔE2000 5.7). It sits at 29° on the hue wheel with 78% saturation and 51% lightness, which reads as warm.

What is the RGB value of #e47e21?

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

Is #e47e21 a light or a dark color?

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

Should I use black or white text on #e47e21?

Black. It scores 7.31:1 against #e47e21, versus 2.87:1 for white — AAA at any size.

What is the complementary color of #e47e21?

#2187E4 sits directly opposite on the wheel. Softer options are the split-complements #21E4DF and #2126E4, which give the same contrast with far less vibration.

What colors go well with #e47e21?

For interface work: #FAF7F4 as the surface, #EDD5C0 for borders, #9B714B for secondary text, #1294BA as an accent and #723D0E for hover and pressed states. For a palette, the analogous pair #E42126 and #E4DF21 stays calm, while #2187E4 is the loudest partner.

What is #e47e21 in CMYK for printing?

cmyk(0%, 45%, 86%, 11%). 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 #e47e21 warm or cool?

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

Work with #e47e21 in the Color Lab