Skip to content

#af5a6f

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

RGB
175, 90, 111
HSL
345°, 35%, 52%
CMYK
0, 49, 37, 31
Luminance
0.1757

At a glance

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

Hex
#af5a6f
Hue
345°
red
Saturation
35%
soft
Lightness
52%
balanced
Brightness
69%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1757
WCAG relative
Temperature
Warm
25/100 cool
Color family
Red
Tone
Soft
Best ink
White
4.65:1
Closest name
Indian Red
ΔE2000 10.9
Where it sits
Hue345° of 360°
Saturation35%
Lightness52%
Temperature
Warm ← → Cool25% 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#af5a6f
RGBrgb(175, 90, 111)
HSLhsl(345, 35%, 52%)
CMYKcmyk(0%, 49%, 37%, 31%)
LABlab(49.0 36.9 4.0)
LCHlch(49.0 37.1 6.2)
OKLCHoklch(0.575 0.112 5.5)
Decimal11491951
Display P3color(display-p3 0.686 0.353 0.435)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af5a6f on white: 4.65:1
AA ✓ pass · AA-large · AAA
Aa
#af5a6f on black: 4.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #696A70
deuteranopia · #7E7B6D
tritanopia · #BC5262

Color scale — 50 to 950

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

#F9F5F6
#F4ECEE
#E8D4D9
#DAB3BD
#C88E9C
#af5a6f
#A55065
#894354
#6E3543
#512A33
#321A20
Base = 500Lightest = 50 · #F9F5F6Darkest = 950 · #321A20
:root {
  --brand-50: #F9F5F6;
  --brand-100: #F4ECEE;
  --brand-200: #E8D4D9;
  --brand-300: #DAB3BD;
  --brand-400: #C88E9C;
  --brand-500: #af5a6f;
  --brand-600: #A55065;
  --brand-700: #894354;
  --brand-800: #6E3543;
  --brand-900: #512A33;
  --brand-950: #321A20;
  --brand: #af5a6f;
  --brand-ink: #ffffff;
}

Colors that work with #af5a6f

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#FAF5F6
Tinted page background
Border#E4C8CF
Hairlines and dividers
Muted text#9B4B5F
Captions on the surface
Accent#3E8E66
Second voice, not a rival
Dark variant#562A35
Hover, pressed, headers
Light variant#F7EEF0
Selected rows, tints
Dark surface#241418
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 #af5a6f

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

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • 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#5AAF9A
Analogous left#AF5A9A
Analogous right#AF705A
Split-complement 1#5AAF70
Split-complement 2#5A9AAF
Triadic 1#6FAF5A
Triadic 2#5A6FAF
Tetradic#9AAF5A

RGB percentages

Red68.6%
Green35.3%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta48.6%
Yellow36.6%
Key (black)31.4%

Color previews

#af5a6f text on a black background

contrast 4.51:1

Card sample

#af5a6f text on a white background

contrast 4.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af5a6f

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.

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

#af5a6f, answered

What color is #af5a6f?

#af5a6f is a balanced soft red, closest to Indian Red (ΔE2000 10.9). It sits at 345° on the hue wheel with 35% saturation and 52% lightness, which reads as warm.

What is the RGB value of #af5a6f?

rgb(175, 90, 111) — 175 red, 90 green and 111 blue out of 255, or 68.6% / 35.3% / 43.5% by channel.

Is #af5a6f a light or a dark color?

It is a dark color. Relative luminance is 0.1757 and perceived brightness is 49%, so white text on it reaches 4.65:1.

Should I use black or white text on #af5a6f?

White. It scores 4.65:1 against #af5a6f, versus 4.51:1 for black — AA at any size.

What is the complementary color of #af5a6f?

#5AAF9A sits directly opposite on the wheel. Softer options are the split-complements #5AAF70 and #5A9AAF, which give the same contrast with far less vibration.

What colors go well with #af5a6f?

For interface work: #FAF5F6 as the surface, #E4C8CF for borders, #9B4B5F for secondary text, #3E8E66 as an accent and #562A35 for hover and pressed states. For a palette, the analogous pair #AF5A9A and #AF705A stays calm, while #5AAF9A is the loudest partner.

What is #af5a6f in CMYK for printing?

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

Is #af5a6f warm or cool?

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

Work with #af5a6f in the Color Lab