Skip to content

#af4f4e

a balanced, soft red · warm · closest name: Indian Red

RGB
175, 79, 78
HSL
1°, 38%, 50%
CMYK
0, 55, 55, 31
Luminance
0.1526

At a glance

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

Hex
#af4f4e
Hue
red
Saturation
38%
soft
Lightness
50%
balanced
Brightness
69%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1526
WCAG relative
Temperature
Warm
16/100 cool
Color family
Red
Tone
Soft
Best ink
White
5.18:1
Closest name
Indian Red
ΔE2000 7.7
Where it sits
Hue1° of 360°
Saturation38%
Lightness50%
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#af4f4e
RGBrgb(175, 79, 78)
HSLhsl(1, 38%, 50%)
CMYKcmyk(0%, 55%, 55%, 31%)
LABlab(46.0 39.1 19.8)
LCHlch(46.0 43.8 26.8)
OKLCHoklch(0.549 0.126 22.7)
Decimal11489102
Display P3color(display-p3 0.686 0.310 0.306)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af4f4e on white: 5.18:1
AA ✓ pass · AA-large · AAA
Aa
#af4f4e on black: 4.05:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #66604D
deuteranopia · #7E744C
tritanopia · #BF3F50

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af4f4e 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
#F4EBEB
#E9D3D3
#DCB2B1
#CB8B8B
#BA6564
#af4f4e
#8D403F
#713332
#532828
#341919
Base = 600Lightest = 50 · #FAF5F5Darkest = 950 · #341919
:root {
  --brand-50: #FAF5F5;
  --brand-100: #F4EBEB;
  --brand-200: #E9D3D3;
  --brand-300: #DCB2B1;
  --brand-400: #CB8B8B;
  --brand-500: #BA6564;
  --brand-600: #af4f4e;
  --brand-700: #8D403F;
  --brand-800: #713332;
  --brand-900: #532828;
  --brand-950: #341919;
  --brand: #af4f4e;
  --brand-ink: #ffffff;
}

Colors that work with #af4f4e

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#E6C7C7
Hairlines and dividers
Muted text#9B4B4B
Captions on the surface
Accent#3B917C
Second voice, not a rival
Dark variant#582827
Hover, pressed, headers
Light variant#F7EDED
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 #af4f4e

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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#4EAEAF
Analogous left#AF4E7E
Analogous right#AF7F4E
Split-complement 1#4EAF7F
Split-complement 2#4E7EAF
Triadic 1#4EAF4F
Triadic 2#4F4EAF
Tetradic#7EAF4E

RGB percentages

Red68.6%
Green31.0%
Blue30.6%

CMYK percentages

Cyan0.0%
Magenta54.9%
Yellow55.4%
Key (black)31.4%

Color previews

#af4f4e text on a black background

contrast 4.05:1

Card sample

#af4f4e text on a white background

contrast 5.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af4f4e

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.

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

#af4f4e, answered

What color is #af4f4e?

#af4f4e is a balanced soft red, closest to Indian Red (ΔE2000 7.7). It sits at 1° on the hue wheel with 38% saturation and 50% lightness, which reads as warm.

What is the RGB value of #af4f4e?

rgb(175, 79, 78) — 175 red, 79 green and 78 blue out of 255, or 68.6% / 31% / 30.6% by channel.

Is #af4f4e a light or a dark color?

It is a dark color. Relative luminance is 0.1526 and perceived brightness is 46%, so white text on it reaches 5.18:1.

Should I use black or white text on #af4f4e?

White. It scores 5.18:1 against #af4f4e, versus 4.05:1 for black — AA at any size.

What is the complementary color of #af4f4e?

#4EAEAF sits directly opposite on the wheel. Softer options are the split-complements #4EAF7F and #4E7EAF, which give the same contrast with far less vibration.

What colors go well with #af4f4e?

For interface work: #FAF4F4 as the surface, #E6C7C7 for borders, #9B4B4B for secondary text, #3B917C as an accent and #582827 for hover and pressed states. For a palette, the analogous pair #AF4E7E and #AF7F4E stays calm, while #4EAEAF is the loudest partner.

What is #af4f4e in CMYK for printing?

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

Is #af4f4e 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 #AF6B4E; nudged cooler, #B14C70.

Work with #af4f4e in the Color Lab