Skip to content

#af3f40

a balanced, vivid red · warm · closest name: Brown

RGB
175, 63, 64
HSL
360°, 47%, 47%
CMYK
0, 64, 63, 31
Luminance
0.1304

At a glance

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

Hex
#af3f40
Hue
360°
red
Saturation
47%
vivid
Lightness
47%
balanced
Brightness
69%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1304
WCAG relative
Temperature
Warm
17/100 cool
Color family
Red
Tone
Vivid
Best ink
White
5.82:1
Closest name
Brown
ΔE2000 5.5
Where it sits
Hue360° of 360°
Saturation47%
Lightness47%
Temperature
Warm ← → Cool17% 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#af3f40
RGBrgb(175, 63, 64)
HSLhsl(360, 47%, 47%)
CMYKcmyk(0%, 64%, 63%, 31%)
LABlab(42.8 45.7 24.1)
LCHlch(42.8 51.7 27.8)
OKLCHoklch(0.525 0.147 23.1)
Decimal11484992
Display P3color(display-p3 0.686 0.247 0.251)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3f40 on white: 5.82:1
AA ✓ pass · AA-large · AAA
Aa
#af3f40 on black: 3.61:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5C563F
deuteranopia · #786E3D
tritanopia · #C02740

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af3f40 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF5F5
#F5EAEA
#ECD0D0
#E1ACAD
#D28384
#C45A5B
#af3f40
#963637
#782B2C
#582323
#371616
Base = 600Lightest = 50 · #FAF5F5Darkest = 950 · #371616
:root {
  --brand-50: #FAF5F5;
  --brand-100: #F5EAEA;
  --brand-200: #ECD0D0;
  --brand-300: #E1ACAD;
  --brand-400: #D28384;
  --brand-500: #C45A5B;
  --brand-600: #af3f40;
  --brand-700: #963637;
  --brand-800: #782B2C;
  --brand-900: #582323;
  --brand-950: #371616;
  --brand: #af3f40;
  --brand-ink: #ffffff;
}

Colors that work with #af3f40

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#E9C3C3
Hairlines and dividers
Muted text#9B4B4B
Captions on the surface
Accent#329A7F
Second voice, not a rival
Dark variant#5E2222
Hover, pressed, headers
Light variant#F8ECEC
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 #af3f40

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
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#3FAFAE
Analogous left#AF3F78
Analogous right#AF763F
Split-complement 1#3FAF76
Split-complement 2#3F78AF
Triadic 1#40AF3F
Triadic 2#3F40AF
Tetradic#78AF3F

RGB percentages

Red68.6%
Green24.7%
Blue25.1%

CMYK percentages

Cyan0.0%
Magenta64.0%
Yellow63.4%
Key (black)31.4%

Color previews

#af3f40 text on a black background

contrast 3.61:1

Card sample

#af3f40 text on a white background

contrast 5.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3f40

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.

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

#af3f40, answered

What color is #af3f40?

#af3f40 is a balanced vivid red, closest to Brown (ΔE2000 5.5). It sits at 360° on the hue wheel with 47% saturation and 47% lightness, which reads as warm.

What is the RGB value of #af3f40?

rgb(175, 63, 64) — 175 red, 63 green and 64 blue out of 255, or 68.6% / 24.7% / 25.1% by channel.

Is #af3f40 a light or a dark color?

It is a dark color. Relative luminance is 0.1304 and perceived brightness is 43%, so white text on it reaches 5.82:1.

Should I use black or white text on #af3f40?

White. It scores 5.82:1 against #af3f40, versus 3.61:1 for black — AA at any size.

What is the complementary color of #af3f40?

#3FAFAE sits directly opposite on the wheel. Softer options are the split-complements #3FAF76 and #3F78AF, which give the same contrast with far less vibration.

What colors go well with #af3f40?

For interface work: #FAF4F4 as the surface, #E9C3C3 for borders, #9B4B4B for secondary text, #329A7F as an accent and #5E2222 for hover and pressed states. For a palette, the analogous pair #AF3F78 and #AF763F stays calm, while #3FAFAE is the loudest partner.

What is #af3f40 in CMYK for printing?

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

Is #af3f40 warm or cool?

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

Work with #af3f40 in the Color Lab