Skip to content

#af3b28

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

RGB
175, 59, 40
HSL
8°, 63%, 42%
CMYK
0, 66, 77, 31
Luminance
0.1240

At a glance

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

Hex
#af3b28
Hue
red
Saturation
63%
vivid
Lightness
42%
dark
Brightness
69%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1240
WCAG relative
Temperature
Warm
12/100 cool
Color family
Red
Tone
Vivid
Best ink
White
6.04:1
Closest name
Firebrick
ΔE2000 4.4
Where it sits
Hue8° of 360°
Saturation63%
Lightness42%
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#af3b28
RGBrgb(175, 59, 40)
HSLhsl(8, 63%, 42%)
CMYKcmyk(0%, 66%, 77%, 31%)
LABlab(41.8 46.2 37.0)
LCHlch(41.8 59.2 38.6)
OKLCHoklch(0.516 0.155 31.8)
Decimal11483944
Display P3color(display-p3 0.686 0.231 0.157)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3b28 on white: 6.04:1
AA ✓ pass · AA-large · AAA
Aa
#af3b28 on black: 3.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5C5325
deuteranopia · #796C24
tritanopia · #C11A37

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af3b28 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
#F7EAE8
#F0D1CC
#EAAEA4
#E08576
#D55C48
#C7432E
#af3b28
#852D1E
#61241A
#3C1610
Base = 700Lightest = 50 · #FBF5F4Darkest = 950 · #3C1610
:root {
  --brand-50: #FBF5F4;
  --brand-100: #F7EAE8;
  --brand-200: #F0D1CC;
  --brand-300: #EAAEA4;
  --brand-400: #E08576;
  --brand-500: #D55C48;
  --brand-600: #C7432E;
  --brand-700: #af3b28;
  --brand-800: #852D1E;
  --brand-900: #61241A;
  --brand-950: #3C1610;
  --brand: #af3b28;
  --brand-ink: #ffffff;
}

Colors that work with #af3b28

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#9B564B
Captions on the surface
Accent#22AA9C
Second voice, not a rival
Dark variant#682318
Hover, pressed, headers
Light variant#FAECEA
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 #af3b28

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#289CAF
Analogous left#AF2859
Analogous right#AF7F28
Split-complement 1#28AF7F
Split-complement 2#2859AF
Triadic 1#28AF3B
Triadic 2#3B28AF
Tetradic#59AF28

RGB percentages

Red68.6%
Green23.1%
Blue15.7%

CMYK percentages

Cyan0.0%
Magenta66.3%
Yellow77.1%
Key (black)31.4%

Color previews

#af3b28 text on a black background

contrast 3.48:1

Card sample

#af3b28 text on a white background

contrast 6.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3b28

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.

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

#af3b28, answered

What color is #af3b28?

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

What is the RGB value of #af3b28?

rgb(175, 59, 40) — 175 red, 59 green and 40 blue out of 255, or 68.6% / 23.1% / 15.7% by channel.

Is #af3b28 a light or a dark color?

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

Should I use black or white text on #af3b28?

White. It scores 6.04:1 against #af3b28, versus 3.48:1 for black — AA at any size.

What is the complementary color of #af3b28?

#289CAF sits directly opposite on the wheel. Softer options are the split-complements #28AF7F and #2859AF, which give the same contrast with far less vibration.

What colors go well with #af3b28?

For interface work: #FAF5F4 as the surface, #EDC6C0 for borders, #9B564B for secondary text, #22AA9C as an accent and #682318 for hover and pressed states. For a palette, the analogous pair #AF2859 and #AF7F28 stays calm, while #289CAF is the loudest partner.

What is #af3b28 in CMYK for printing?

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

Is #af3b28 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 #AF5328; nudged cooler, #B12645.

Work with #af3b28 in the Color Lab