Skip to content

#af3e2d

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

RGB
175, 62, 45
HSL
8°, 59%, 43%
CMYK
0, 65, 74, 31
Luminance
0.1275

At a glance

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

Hex
#af3e2d
Hue
red
Saturation
59%
vivid
Lightness
43%
dark
Brightness
69%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1275
WCAG relative
Temperature
Warm
12/100 cool
Color family
Red
Tone
Vivid
Best ink
White
5.92:1
Closest name
Firebrick
ΔE2000 4.6
Where it sits
Hue8° of 360°
Saturation59%
Lightness43%
Temperature
Warm ← → Cool12% 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#af3e2d
RGBrgb(175, 62, 45)
HSLhsl(8, 59%, 43%)
CMYKcmyk(0%, 65%, 74%, 31%)
LABlab(42.4 45.1 34.8)
LCHlch(42.4 57.0 37.6)
OKLCHoklch(0.520 0.151 31.2)
Decimal11484717
Display P3color(display-p3 0.686 0.243 0.176)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3e2d on white: 5.92:1
AA ✓ pass · AA-large · AAA
Aa
#af3e2d on black: 3.55:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5D542A
deuteranopia · #7A6D29
tritanopia · #C0213B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af3e2d 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
#F7EAE9
#EFD1CD
#E8AEA6
#DD8679
#D15E4C
#C34532
#af3e2d
#822E21
#5E251C
#3B1711
Base = 700Lightest = 50 · #FBF5F4Darkest = 950 · #3B1711
:root {
  --brand-50: #FBF5F4;
  --brand-100: #F7EAE9;
  --brand-200: #EFD1CD;
  --brand-300: #E8AEA6;
  --brand-400: #DD8679;
  --brand-500: #D15E4C;
  --brand-600: #C34532;
  --brand-700: #af3e2d;
  --brand-800: #822E21;
  --brand-900: #5E251C;
  --brand-950: #3B1711;
  --brand: #af3e2d;
  --brand-ink: #ffffff;
}

Colors that work with #af3e2d

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#EDC6C0
Hairlines and dividers
Muted text#9B554B
Captions on the surface
Accent#26A697
Second voice, not a rival
Dark variant#65241A
Hover, pressed, headers
Light variant#FAEDEB
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 #af3e2d

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#2D9EAF
Analogous left#AF2D5D
Analogous right#AF7F2D
Split-complement 1#2DAF7F
Split-complement 2#2D5DAF
Triadic 1#2DAF3E
Triadic 2#3E2DAF
Tetradic#5DAF2D

RGB percentages

Red68.6%
Green24.3%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta64.6%
Yellow74.3%
Key (black)31.4%

Color previews

#af3e2d text on a black background

contrast 3.55:1

Card sample

#af3e2d text on a white background

contrast 5.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3e2d

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.

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

#af3e2d, answered

What color is #af3e2d?

#af3e2d is a dark vivid red, closest to Firebrick (ΔE2000 4.6). It sits at 8° on the hue wheel with 59% saturation and 43% lightness, which reads as warm.

What is the RGB value of #af3e2d?

rgb(175, 62, 45) — 175 red, 62 green and 45 blue out of 255, or 68.6% / 24.3% / 17.6% by channel.

Is #af3e2d a light or a dark color?

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

Should I use black or white text on #af3e2d?

White. It scores 5.92:1 against #af3e2d, versus 3.55:1 for black — AA at any size.

What is the complementary color of #af3e2d?

#2D9EAF sits directly opposite on the wheel. Softer options are the split-complements #2DAF7F and #2D5DAF, which give the same contrast with far less vibration.

What colors go well with #af3e2d?

For interface work: #FAF5F4 as the surface, #EDC6C0 for borders, #9B554B for secondary text, #26A697 as an accent and #65241A for hover and pressed states. For a palette, the analogous pair #AF2D5D and #AF7F2D stays calm, while #2D9EAF is the loudest partner.

What is #af3e2d in CMYK for printing?

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

Is #af3e2d warm or cool?

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

Work with #af3e2d in the Color Lab