Maroon Colors  ·  Color Library

Palettes / Colors / #AF331F

#AF331F — Red

#AF331F is a red color we call Red, closest to the named color Brown (#A52A2A). It belongs to the red family.

Color name

Closest CSS keyword: brown (#A52A2A) — not an exact match. CSS brown gives you #A52A2A, a different color; use #AF331F when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#AF331F is a warm red color associated with energy, passion and urgency. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #1F9AAD; it also sits naturally between #AD1F53 and #AD791F. In the palettes below you can see it working alongside real color combinations from our collection.

#AF331F · RGB 175, 51, 31

Download PNG swatch SVG

Color values

HEX#AF331F
RGB175, 51, 31
HSL8°, 70%, 40%
HSV8°, 82%, 69%
CMYK0%, 71%, 82%, 31%
XYZ19.11, 11.58, 2.52
Yxy11.58, 0.5753, 0.3487
CIE-Lab40.54, 49.20, 40.46
Hunter Lab34.03, 43.18, 18.25

RGB & CMYK percentages

Red 69% · Green 20% · Blue 12%

Cyan 0% · Magenta 71% · Yellow 82% · Key 31%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #AF331F on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #AF331F on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #AF331F

.text { color: #AF331F; }
.background { background-color: #AF331F; }
.border { border: 3px solid #AF331F; }
.text-rgb { color: rgb(175, 51, 31); }
.text-hsl { color: hsl(8, 70%, 40%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #AF331F; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(175, 51, 31, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #AF331F; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(175, 51, 31, 0.8); }

HTML: <p style="color:#AF331F">Text here</p> · <div style="background-color:#AF331F">Div content here</div>

Shades of #AF331F

#9C2D1C#8F2919#7E2416#712014#5F1B11#4E160E#41130B#300E08#230A06#110503

Tints of #AF331F

#C73923#DA422B#DE5945#E26C5A#E78474#EB9B8E#EFAEA4#F4C5BE#F7D8D4#FCF0EE

Tones of #AF331F

#A33929#994133#8F483D#855047#7A5752#705F5C

Color harmonies

Complementary — #1F9AAD:

Analogous:

Triadic:

Contrast & accessibility

Against white text6.33:1 AA
Against black text3.32:1 AA large only

Best text color on #AF331F: #FFFFFF.

Semi-transparent (opacity) text on #AF331F

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #AF331F: ·

How #AF331F looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #797824Deuteranopia · #818A25Tritanopia · #A92829

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind red 600 · #DC2626Bootstrap danger · #DC3545Tailwind rose 600 · #E11D48

Palettes with a similar color

These palettes use a close neighbour of #AF331F rather than the exact color:

Mellow Ember
#4315C6 · #9B22AB · #E4529B · #B52F1C
Palette 952323
#952323 · #A73121 · #DAD4B5 · #F2E8C6
Silent Ruby Monsoon
#B22E26 · #572F12 · #C3A32B · #90A41E
Palette 8a8635
#8A8635 · #AA2B1D · #CC561E · #F3CF7A
Burning Ruby Cascade
#AD3415 · #E6AD32 · #D5EC64 · #C4F4A9
Golden Ruby Cinder
#E31764 · #BD331F · #BF841E · #A0B713

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#B52F1C#A73121#B22E26#AA2B1D#AD3415#BD331F#B22727#A73C28#AA3611#AF2D2D#A62927#BD2C1E

Browse neighbouring colors

← #AF331E  ·  #AF3320 →

Frequently asked questions

What color is #AF331F?

#AF331F is Red, a red color (RGB 175, 51, 31). Its closest standard named color is Brown.

What is the RGB and HSL of #AF331F?

#AF331F is RGB 175, 51, 31 — HSL 8°, 70%, 40% — CMYK 0%, 71%, 82%, 31%.

What colors go with #AF331F?

Its complement is #1F9AAD; analogous partners are #AD1F53 and #AD791F. It also appears in 6+ palettes in our collection.

Can I use #AF331F for text?

White text on #AF331F has a contrast ratio of 6.33:1 (passes WCAG AA); black text gives 3.32:1.