Skip to content

#af180f

a dark, electric red · warm · closest name: Firebrick

RGB
175, 24, 15
HSL
3°, 84%, 37%
CMYK
0, 86, 91, 31
Luminance
0.0980

At a glance

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

Hex
#af180f
Hue
red
Saturation
84%
electric
Lightness
37%
dark
Brightness
69%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0980
WCAG relative
Temperature
Warm
15/100 cool
Color family
Red
Tone
Electric
Best ink
White
7.09:1
Closest name
Firebrick
ΔE2000 3.7
Where it sits
Hue3° of 360°
Saturation84%
Lightness37%
Temperature
Warm ← → Cool15% 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#af180f
RGBrgb(175, 24, 15)
HSLhsl(3, 84%, 37%)
CMYKcmyk(0%, 86%, 91%, 31%)
LABlab(37.5 57.1 45.5)
LCHlch(37.5 73.0 38.5)
OKLCHoklch(0.483 0.185 29.4)
Decimal11474959
Display P3color(display-p3 0.686 0.094 0.059)

Copy-ready code

/* CSS */
color: #af180f;
background-color: #af180f;
/* Tailwind (arbitrary) */
class="text-[#af180f] bg-[#af180f]"
/* SCSS */
$brand: #af180f;
/* SwiftUI */
Color(red: 0.686, green: 0.094, blue: 0.059)
/* Android */
Color.parseColor("#af180f")
/* Flutter */
Color(0xFFAF180F)
/* Python / OpenCV (BGR) */
(15, 24, 175)

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

Accessibility — WCAG contrast

Aa
#af180f on white: 7.09:1
AA ✓ pass · AA-large · AAA
Aa
#af180f on black: 2.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4D430A
deuteranopia · #716400
tritanopia · #C20019

Color scale — 50 to 950

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

#FCF3F2
#FAE7E6
#F6C8C5
#F69D98
#F26C64
#ED3B30
#E11F13
#af180f
#96150D
#6D130E
#440C09
Base = 700Lightest = 50 · #FCF3F2Darkest = 950 · #440C09
:root {
  --brand-50: #FCF3F2;
  --brand-100: #FAE7E6;
  --brand-200: #F6C8C5;
  --brand-300: #F69D98;
  --brand-400: #F26C64;
  --brand-500: #ED3B30;
  --brand-600: #E11F13;
  --brand-700: #af180f;
  --brand-800: #96150D;
  --brand-900: #6D130E;
  --brand-950: #440C09;
  --brand: #af180f;
  --brand-ink: #ffffff;
}

Colors that work with #af180f

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF5F4
Tinted page background
Border#EDC2C0
Hairlines and dividers
Muted text#9B4F4B
Captions on the surface
Accent#0CC09E
Second voice, not a rival
Dark variant#75100A
Hover, pressed, headers
Light variant#FDE9E8
Selected rows, tints
Dark surface#241514
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 #af180f

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#0FA6AF
Analogous left#AF0F56
Analogous right#AF680F
Split-complement 1#0FAF68
Split-complement 2#0F56AF
Triadic 1#0FAF18
Triadic 2#180FAF
Tetradic#56AF0F

RGB percentages

Red68.6%
Green9.4%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta86.3%
Yellow91.4%
Key (black)31.4%

Color previews

#af180f text on a black background

contrast 2.96:1

Card sample

#af180f text on a white background

contrast 7.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 24, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 24, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af180f;
background: linear-gradient(135deg, #af180f, #AF830F);

Monochromatic scale

Palettes built from #af180f

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.

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

#af180f, answered

What color is #af180f?

#af180f is a dark electric red, closest to Firebrick (ΔE2000 3.7). It sits at 3° on the hue wheel with 84% saturation and 37% lightness, which reads as warm.

What is the RGB value of #af180f?

rgb(175, 24, 15) — 175 red, 24 green and 15 blue out of 255, or 68.6% / 9.4% / 5.9% by channel.

Is #af180f a light or a dark color?

It is a dark color. Relative luminance is 0.0980 and perceived brightness is 38%, so white text on it reaches 7.09:1.

Should I use black or white text on #af180f?

White. It scores 7.09:1 against #af180f, versus 2.96:1 for black — AAA at any size.

What is the complementary color of #af180f?

#0FA6AF sits directly opposite on the wheel. Softer options are the split-complements #0FAF68 and #0F56AF, which give the same contrast with far less vibration.

What colors go well with #af180f?

For interface work: #FAF5F4 as the surface, #EDC2C0 for borders, #9B4F4B for secondary text, #0CC09E as an accent and #75100A for hover and pressed states. For a palette, the analogous pair #AF0F56 and #AF680F stays calm, while #0FA6AF is the loudest partner.

What is #af180f in CMYK for printing?

cmyk(0%, 86%, 91%, 31%). 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 #af180f warm or cool?

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

Work with #af180f in the Color Lab