Skip to content

#af2b22

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

RGB
175, 43, 34
HSL
4°, 68%, 41%
CMYK
0, 75, 81, 31
Luminance
0.1096

At a glance

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

Hex
#af2b22
Hue
red
Saturation
68%
vivid
Lightness
41%
dark
Brightness
69%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1096
WCAG relative
Temperature
Warm
15/100 cool
Color family
Red
Tone
Vivid
Best ink
White
6.58:1
Closest name
Firebrick
ΔE2000 1.5
Where it sits
Hue4° of 360°
Saturation68%
Lightness41%
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#af2b22
RGBrgb(175, 43, 34)
HSLhsl(4, 68%, 41%)
CMYKcmyk(0%, 75%, 81%, 31%)
LABlab(39.5 52.2 37.9)
LCHlch(39.5 64.5 35.9)
OKLCHoklch(0.499 0.170 28.7)
Decimal11479842
Display P3color(display-p3 0.686 0.169 0.133)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af2b22 on white: 6.58:1
AA ✓ pass · AA-large · AAA
Aa
#af2b22 on black: 3.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #534B1F
deuteranopia · #74681C
tritanopia · #C1002A

Color scale — 50 to 950

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

#FBF4F3
#F8E9E8
#F2CDCA
#EDA6A1
#E47972
#DB4D43
#CD3228
#af2b22
#89211B
#631C17
#3E120E
Base = 700Lightest = 50 · #FBF4F3Darkest = 950 · #3E120E
:root {
  --brand-50: #FBF4F3;
  --brand-100: #F8E9E8;
  --brand-200: #F2CDCA;
  --brand-300: #EDA6A1;
  --brand-400: #E47972;
  --brand-500: #DB4D43;
  --brand-600: #CD3228;
  --brand-700: #af2b22;
  --brand-800: #89211B;
  --brand-900: #631C17;
  --brand-950: #3E120E;
  --brand: #af2b22;
  --brand-ink: #ffffff;
}

Colors that work with #af2b22

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#EDC3C0
Hairlines and dividers
Muted text#9B504B
Captions on the surface
Accent#1DAF93
Second voice, not a rival
Dark variant#6B1A15
Hover, pressed, headers
Light variant#FBEBEA
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 #af2b22

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#22A6AF
Analogous left#AF2260
Analogous right#AF7122
Split-complement 1#22AF71
Split-complement 2#2260AF
Triadic 1#22AF2B
Triadic 2#2B22AF
Tetradic#60AF22

RGB percentages

Red68.6%
Green16.9%
Blue13.3%

CMYK percentages

Cyan0.0%
Magenta75.4%
Yellow80.6%
Key (black)31.4%

Color previews

#af2b22 text on a black background

contrast 3.19:1

Card sample

#af2b22 text on a white background

contrast 6.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af2b22

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.

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

#af2b22, answered

What color is #af2b22?

#af2b22 is a dark vivid red, closest to Firebrick (ΔE2000 1.5). It sits at 4° on the hue wheel with 68% saturation and 41% lightness, which reads as warm.

What is the RGB value of #af2b22?

rgb(175, 43, 34) — 175 red, 43 green and 34 blue out of 255, or 68.6% / 16.9% / 13.3% by channel.

Is #af2b22 a light or a dark color?

It is a dark color. Relative luminance is 0.1096 and perceived brightness is 40%, so white text on it reaches 6.58:1.

Should I use black or white text on #af2b22?

White. It scores 6.58:1 against #af2b22, versus 3.19:1 for black — AA at any size.

What is the complementary color of #af2b22?

#22A6AF sits directly opposite on the wheel. Softer options are the split-complements #22AF71 and #2260AF, which give the same contrast with far less vibration.

What colors go well with #af2b22?

For interface work: #FAF5F4 as the surface, #EDC3C0 for borders, #9B504B for secondary text, #1DAF93 as an accent and #6B1A15 for hover and pressed states. For a palette, the analogous pair #AF2260 and #AF7122 stays calm, while #22A6AF is the loudest partner.

What is #af2b22 in CMYK for printing?

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

Is #af2b22 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 #AF4B22; nudged cooler, #B1204C.

Work with #af2b22 in the Color Lab