Skip to content

#fb5d21

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

RGB
251, 93, 33
HSL
17°, 97%, 56%
CMYK
0, 63, 87, 2
Luminance
0.2845

At a glance

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

Hex
#fb5d21
Hue
17°
orange
Saturation
97%
electric
Lightness
56%
balanced
Brightness
98%
HSV value
Perceived
61%
weighted brightness
Luminance
0.2845
WCAG relative
Temperature
Warm
8/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
6.69:1
Closest name
Orange Red
ΔE2000 3.6
Where it sits
Hue17° of 360°
Saturation97%
Lightness56%
Temperature
Warm ← → Cool8% 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#fb5d21
RGBrgb(251, 93, 33)
HSLhsl(17, 97%, 56%)
CMYKcmyk(0%, 63%, 87%, 2%)
LABlab(60.3 57.9 61.8)
LCHlch(60.3 84.7 46.9)
OKLCHoklch(0.680 0.204 38.6)
Decimal16473377
Display P3color(display-p3 0.984 0.365 0.129)

Copy-ready code

/* CSS */
color: #fb5d21;
background-color: #fb5d21;
/* Tailwind (arbitrary) */
class="text-[#fb5d21] bg-[#fb5d21]"
/* SCSS */
$brand: #fb5d21;
/* SwiftUI */
Color(red: 0.984, green: 0.365, blue: 0.129)
/* Android */
Color.parseColor("#fb5d21")
/* Flutter */
Color(0xFFFB5D21)
/* Python / OpenCV (BGR) */
(33, 93, 251)

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

Accessibility — WCAG contrast

Aa
#fb5d21 on white: 3.14:1
AA ✗ fail · AA-large · AAA
Aa
#fb5d21 on black: 6.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8B7B14
deuteranopia · #B29F16
tritanopia · #FF2F52

Color scale — 50 to 950

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

#FDF5F1
#FCEAE4
#FBD1C1
#FDAF91
#FC865A
#fb5d21
#F14504
#C83A04
#A02E03
#742507
#481704
Base = 500Lightest = 50 · #FDF5F1Darkest = 950 · #481704
:root {
  --brand-50: #FDF5F1;
  --brand-100: #FCEAE4;
  --brand-200: #FBD1C1;
  --brand-300: #FDAF91;
  --brand-400: #FC865A;
  --brand-500: #fb5d21;
  --brand-600: #F14504;
  --brand-700: #C83A04;
  --brand-800: #A02E03;
  --brand-900: #742507;
  --brand-950: #481704;
  --brand: #fb5d21;
  --brand-ink: #000000;
}

Colors that work with #fb5d21

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#FAF6F4
Tinted page background
Border#EDCCC0
Hairlines and dividers
Muted text#9B614B
Captions on the surface
Accent#00C7CC
Second voice, not a rival
Dark variant#7D2402
Hover, pressed, headers
Light variant#FFEDE6
Selected rows, tints
Dark surface#241814
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 #fb5d21

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

Works well for
  • Headings from 24px up on white
  • 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
  • Small text on white — under 4.5:1
  • 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#21BFFB
Analogous left#FB2152
Analogous right#FBCA21
Split-complement 1#21FBCA
Split-complement 2#2152FB
Triadic 1#21FB5D
Triadic 2#5D21FB
Tetradic#52FB21

RGB percentages

Red98.4%
Green36.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta62.9%
Yellow86.9%
Key (black)1.6%

Color previews

#fb5d21 text on a black background

contrast 6.69:1

Card sample

#fb5d21 text on a white background

contrast 3.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fb5d21

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.

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

#fb5d21, answered

What color is #fb5d21?

#fb5d21 is a balanced electric orange, closest to Orange Red (ΔE2000 3.6). It sits at 17° on the hue wheel with 97% saturation and 56% lightness, which reads as warm.

What is the RGB value of #fb5d21?

rgb(251, 93, 33) — 251 red, 93 green and 33 blue out of 255, or 98.4% / 36.5% / 12.9% by channel.

Is #fb5d21 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2845 and perceived brightness is 61%, so black text on it reaches 6.69:1.

Should I use black or white text on #fb5d21?

Black. It scores 6.69:1 against #fb5d21, versus 3.14:1 for white — AA at any size.

What is the complementary color of #fb5d21?

#21BFFB sits directly opposite on the wheel. Softer options are the split-complements #21FBCA and #2152FB, which give the same contrast with far less vibration.

What colors go well with #fb5d21?

For interface work: #FAF6F4 as the surface, #EDCCC0 for borders, #9B614B for secondary text, #00C7CC as an accent and #7D2402 for hover and pressed states. For a palette, the analogous pair #FB2152 and #FBCA21 stays calm, while #21BFFB is the loudest partner.

What is #fb5d21 in CMYK for printing?

cmyk(0%, 63%, 87%, 2%). 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 #fb5d21 warm or cool?

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

Work with #fb5d21 in the Color Lab