Skip to content

#af302c

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

RGB
175, 48, 44
HSL
2°, 60%, 43%
CMYK
0, 73, 75, 31
Luminance
0.1141

At a glance

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

Hex
#af302c
Hue
red
Saturation
60%
vivid
Lightness
43%
dark
Brightness
69%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1141
WCAG relative
Temperature
Warm
16/100 cool
Color family
Red
Tone
Vivid
Best ink
White
6.40:1
Closest name
Firebrick
ΔE2000 2.1
Where it sits
Hue2° of 360°
Saturation60%
Lightness43%
Temperature
Warm ← → Cool16% 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#af302c
RGBrgb(175, 48, 44)
HSLhsl(2, 60%, 43%)
CMYKcmyk(0%, 73%, 75%, 31%)
LABlab(40.3 50.8 33.0)
LCHlch(40.3 60.6 33.0)
OKLCHoklch(0.505 0.164 26.8)
Decimal11481132
Display P3color(display-p3 0.686 0.188 0.173)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af302c on white: 6.40:1
AA ✓ pass · AA-large · AAA
Aa
#af302c on black: 3.28:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #554D2A
deuteranopia · #756927
tritanopia · #C10030

Color scale — 50 to 950

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

#FBF4F4
#F7E9E9
#EFCDCC
#E8A7A5
#DD7C79
#D2504C
#C43631
#af302c
#822421
#5F1E1C
#3B1211
Base = 700Lightest = 50 · #FBF4F4Darkest = 950 · #3B1211
:root {
  --brand-50: #FBF4F4;
  --brand-100: #F7E9E9;
  --brand-200: #EFCDCC;
  --brand-300: #E8A7A5;
  --brand-400: #DD7C79;
  --brand-500: #D2504C;
  --brand-600: #C43631;
  --brand-700: #af302c;
  --brand-800: #822421;
  --brand-900: #5F1E1C;
  --brand-950: #3B1211;
  --brand: #af302c;
  --brand-ink: #ffffff;
}

Colors that work with #af302c

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#FAF4F4
Tinted page background
Border#EDC1C0
Hairlines and dividers
Muted text#9B4D4B
Captions on the surface
Accent#25A78A
Second voice, not a rival
Dark variant#661C1A
Hover, pressed, headers
Light variant#FAEBEB
Selected rows, tints
Dark surface#241414
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 #af302c

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#2CABAF
Analogous left#AF2C69
Analogous right#AF712C
Split-complement 1#2CAF71
Split-complement 2#2C69AF
Triadic 1#2CAF30
Triadic 2#302CAF
Tetradic#69AF2C

RGB percentages

Red68.6%
Green18.8%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta72.6%
Yellow74.9%
Key (black)31.4%

Color previews

#af302c text on a black background

contrast 3.28:1

Card sample

#af302c text on a white background

contrast 6.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af302c

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.

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

#af302c, answered

What color is #af302c?

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

What is the RGB value of #af302c?

rgb(175, 48, 44) — 175 red, 48 green and 44 blue out of 255, or 68.6% / 18.8% / 17.3% by channel.

Is #af302c a light or a dark color?

It is a dark color. Relative luminance is 0.1141 and perceived brightness is 41%, so white text on it reaches 6.40:1.

Should I use black or white text on #af302c?

White. It scores 6.40:1 against #af302c, versus 3.28:1 for black — AA at any size.

What is the complementary color of #af302c?

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

What colors go well with #af302c?

For interface work: #FAF4F4 as the surface, #EDC1C0 for borders, #9B4D4B for secondary text, #25A78A as an accent and #661C1A for hover and pressed states. For a palette, the analogous pair #AF2C69 and #AF712C stays calm, while #2CABAF is the loudest partner.

What is #af302c in CMYK for printing?

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

Is #af302c warm or cool?

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

Work with #af302c in the Color Lab