Skip to content

#af3f29

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

RGB
175, 63, 41
HSL
10°, 62%, 42%
CMYK
0, 64, 77, 31
Luminance
0.1283

At a glance

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

Hex
#af3f29
Hue
10°
red
Saturation
62%
vivid
Lightness
42%
dark
Brightness
69%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1283
WCAG relative
Temperature
Warm
11/100 cool
Color family
Red
Tone
Vivid
Best ink
White
5.89:1
Closest name
Firebrick
ΔE2000 5.4
Where it sits
Hue10° of 360°
Saturation62%
Lightness42%
Temperature
Warm ← → Cool11% 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#af3f29
RGBrgb(175, 63, 41)
HSLhsl(10, 62%, 42%)
CMYKcmyk(0%, 64%, 77%, 31%)
LABlab(42.5 44.5 37.1)
LCHlch(42.5 57.9 39.8)
OKLCHoklch(0.521 0.151 33.1)
Decimal11484969
Display P3color(display-p3 0.686 0.247 0.161)

Copy-ready code

/* CSS */
color: #af3f29;
background-color: #af3f29;
/* Tailwind (arbitrary) */
class="text-[#af3f29] bg-[#af3f29]"
/* SCSS */
$brand: #af3f29;
/* SwiftUI */
Color(red: 0.686, green: 0.247, blue: 0.161)
/* Android */
Color.parseColor("#af3f29")
/* Flutter */
Color(0xFFAF3F29)
/* Python / OpenCV (BGR) */
(41, 63, 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 #af3f29 · 5.89:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.89:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.57:1
AA fail · AA large pass · AAA fail
Reading the other direction: #af3f29 as text scores 5.89:1 on white and 3.57:1 on black.

Accessibility — WCAG contrast

Aa
#af3f29 on white: 5.89:1
AA ✓ pass · AA-large · AAA
Aa
#af3f29 on black: 3.57:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5E5526
deuteranopia · #7A6E25
tritanopia · #C1223B

Color scale — 50 to 950

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

#FBF5F4
#F7EBE8
#F0D2CC
#EAB0A4
#DF8877
#D46049
#C6482F
#af3f29
#84301F
#60261A
#3C1810
Base = 700Lightest = 50 · #FBF5F4Darkest = 950 · #3C1810
:root {
  --brand-50: #FBF5F4;
  --brand-100: #F7EBE8;
  --brand-200: #F0D2CC;
  --brand-300: #EAB0A4;
  --brand-400: #DF8877;
  --brand-500: #D46049;
  --brand-600: #C6482F;
  --brand-700: #af3f29;
  --brand-800: #84301F;
  --brand-900: #60261A;
  --brand-950: #3C1810;
  --brand: #af3f29;
  --brand-ink: #ffffff;
}

Colors that work with #af3f29

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#EDC7C0
Hairlines and dividers
Muted text#9B584B
Captions on the surface
Accent#23A99E
Second voice, not a rival
Dark variant#672518
Hover, pressed, headers
Light variant#FAEDEA
Selected rows, tints
Dark surface#241614
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 #af3f29

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
  • 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#2999AF
Analogous left#AF2956
Analogous right#AF8229
Split-complement 1#29AF82
Split-complement 2#2956AF
Triadic 1#29AF3F
Triadic 2#3F29AF
Tetradic#56AF29

RGB percentages

Red68.6%
Green24.7%
Blue16.1%

CMYK percentages

Cyan0.0%
Magenta64.0%
Yellow76.6%
Key (black)31.4%

Color previews

#af3f29 text on a black background

contrast 3.57:1

Card sample

#af3f29 text on a white background

contrast 5.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3f29

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.

#af3f29 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

Converts to four-color process without much drama. Proof it anyway.

#af3f29, answered

What color is #af3f29?

#af3f29 is a dark vivid red, closest to Firebrick (ΔE2000 5.4). It sits at 10° on the hue wheel with 62% saturation and 42% lightness, which reads as warm.

What is the RGB value of #af3f29?

rgb(175, 63, 41) — 175 red, 63 green and 41 blue out of 255, or 68.6% / 24.7% / 16.1% by channel.

Is #af3f29 a light or a dark color?

It is a dark color. Relative luminance is 0.1283 and perceived brightness is 42%, so white text on it reaches 5.89:1.

Should I use black or white text on #af3f29?

White. It scores 5.89:1 against #af3f29, versus 3.57:1 for black — AA at any size.

What is the complementary color of #af3f29?

#2999AF sits directly opposite on the wheel. Softer options are the split-complements #29AF82 and #2956AF, which give the same contrast with far less vibration.

What colors go well with #af3f29?

For interface work: #FAF5F4 as the surface, #EDC7C0 for borders, #9B584B for secondary text, #23A99E as an accent and #672518 for hover and pressed states. For a palette, the analogous pair #AF2956 and #AF8229 stays calm, while #2999AF is the loudest partner.

What is #af3f29 in CMYK for printing?

cmyk(0%, 64%, 77%, 31%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #af3f29 warm or cool?

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

Work with #af3f29 in the Color Lab