Skip to content

#f04813

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

RGB
240, 72, 19
HSL
14°, 88%, 51%
CMYK
0, 70, 92, 6
Luminance
0.2321

At a glance

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

Hex
#f04813
Hue
14°
red
Saturation
88%
electric
Lightness
51%
balanced
Brightness
94%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2321
WCAG relative
Temperature
Warm
9/100 cool
Color family
Red
Tone
Electric
Best ink
Black
5.64:1
Closest name
Orange Red
ΔE2000 2.8
Where it sits
Hue14° of 360°
Saturation88%
Lightness51%
Temperature
Warm ← → Cool9% 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#f04813
RGBrgb(240, 72, 19)
HSLhsl(14, 88%, 51%)
CMYKcmyk(0%, 70%, 92%, 6%)
LABlab(55.3 62.3 62.0)
LCHlch(55.3 87.9 44.9)
OKLCHoklch(0.638 0.212 35.7)
Decimal15747091
Display P3color(display-p3 0.941 0.282 0.075)

Copy-ready code

/* CSS */
color: #f04813;
background-color: #f04813;
/* Tailwind (arbitrary) */
class="text-[#f04813] bg-[#f04813]"
/* SCSS */
$brand: #f04813;
/* SwiftUI */
Color(red: 0.941, green: 0.282, blue: 0.075)
/* Android */
Color.parseColor("#f04813")
/* Flutter */
Color(0xFFF04813)
/* Python / OpenCV (BGR) */
(19, 72, 240)

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

Accessibility — WCAG contrast

Aa
#f04813 on white: 3.72:1
AA ✗ fail · AA-large · AAA
Aa
#f04813 on black: 5.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7B6C01
deuteranopia · #A59200
tritanopia · #FF0040

Color scale — 50 to 950

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

#FDF5F2
#FAEAE5
#F8D0C4
#F8AD96
#F58461
#F25B2C
#f04813
#C0370C
#992C0A
#6F230C
#451607
Base = 600Lightest = 50 · #FDF5F2Darkest = 950 · #451607
:root {
  --brand-50: #FDF5F2;
  --brand-100: #FAEAE5;
  --brand-200: #F8D0C4;
  --brand-300: #F8AD96;
  --brand-400: #F58461;
  --brand-500: #F25B2C;
  --brand-600: #f04813;
  --brand-700: #C0370C;
  --brand-800: #992C0A;
  --brand-900: #6F230C;
  --brand-950: #451607;
  --brand: #f04813;
  --brand-ink: #000000;
}

Colors that work with #f04813

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#EDCBC0
Hairlines and dividers
Muted text#9B5E4B
Captions on the surface
Accent#08C4C2
Second voice, not a rival
Dark variant#782308
Hover, pressed, headers
Light variant#FDECE7
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 #f04813

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#13BBF0
Analogous left#F0134D
Analogous right#F0B713
Split-complement 1#13F0B7
Split-complement 2#134DF0
Triadic 1#13F048
Triadic 2#4813F0
Tetradic#4DF013

RGB percentages

Red94.1%
Green28.2%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta70.0%
Yellow92.1%
Key (black)5.9%

Color previews

#f04813 text on a black background

contrast 5.64:1

Card sample

#f04813 text on a white background

contrast 3.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(240, 72, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 72, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f04813;
background: linear-gradient(135deg, #f04813, #F0DB13);

Monochromatic scale

Palettes built from #f04813

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.

#f04813 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Food and drinkEntertainmentRetailSport
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#f04813, answered

What color is #f04813?

#f04813 is a balanced electric red, closest to Orange Red (ΔE2000 2.8). It sits at 14° on the hue wheel with 88% saturation and 51% lightness, which reads as warm.

What is the RGB value of #f04813?

rgb(240, 72, 19) — 240 red, 72 green and 19 blue out of 255, or 94.1% / 28.2% / 7.5% by channel.

Is #f04813 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2321 and perceived brightness is 56%, so black text on it reaches 5.64:1.

Should I use black or white text on #f04813?

Black. It scores 5.64:1 against #f04813, versus 3.72:1 for white — AA at any size.

What is the complementary color of #f04813?

#13BBF0 sits directly opposite on the wheel. Softer options are the split-complements #13F0B7 and #134DF0, which give the same contrast with far less vibration.

What colors go well with #f04813?

For interface work: #FAF6F4 as the surface, #EDCBC0 for borders, #9B5E4B for secondary text, #08C4C2 as an accent and #782308 for hover and pressed states. For a palette, the analogous pair #F0134D and #F0B713 stays calm, while #13BBF0 is the loudest partner.

What is #f04813 in CMYK for printing?

cmyk(0%, 70%, 92%, 6%). 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 #f04813 warm or cool?

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

Work with #f04813 in the Color Lab