Skip to content

#af5c6b

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

RGB
175, 92, 107
HSL
349°, 34%, 52%
CMYK
0, 47, 39, 31
Luminance
0.1783

At a glance

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

Hex
#af5c6b
Hue
349°
red
Saturation
34%
soft
Lightness
52%
balanced
Brightness
69%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1783
WCAG relative
Temperature
Warm
23/100 cool
Color family
Red
Tone
Soft
Best ink
White
4.60:1
Closest name
Indian Red
ΔE2000 9.3
Where it sits
Hue349° of 360°
Saturation34%
Lightness52%
Temperature
Warm ← → Cool23% 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#af5c6b
RGBrgb(175, 92, 107)
HSLhsl(349, 34%, 52%)
CMYKcmyk(0%, 47%, 39%, 31%)
LABlab(49.3 35.3 6.9)
LCHlch(49.3 36.0 11.0)
OKLCHoklch(0.577 0.109 9.6)
Decimal11492459
Display P3color(display-p3 0.686 0.361 0.420)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af5c6b on white: 4.60:1
AA ✓ pass · AA-large · AAA
Aa
#af5c6b on black: 4.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6B6B6B
deuteranopia · #807B69
tritanopia · #BC5461

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af5c6b 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
#F4ECED
#E8D4D7
#DAB4BB
#C88E98
#af5c6b
#A45160
#894350
#6E3640
#502A31
#321A1F
Base = 500Lightest = 50 · #F9F5F6Darkest = 950 · #321A1F
:root {
  --brand-50: #F9F5F6;
  --brand-100: #F4ECED;
  --brand-200: #E8D4D7;
  --brand-300: #DAB4BB;
  --brand-400: #C88E98;
  --brand-500: #af5c6b;
  --brand-600: #A45160;
  --brand-700: #894350;
  --brand-800: #6E3640;
  --brand-900: #502A31;
  --brand-950: #321A1F;
  --brand: #af5c6b;
  --brand-ink: #ffffff;
}

Colors that work with #af5c6b

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#E4C8CD
Hairlines and dividers
Muted text#9A4C5A
Captions on the surface
Accent#3F8D6B
Second voice, not a rival
Dark variant#562A32
Hover, pressed, headers
Light variant#F7EEEF
Selected rows, tints
Dark surface#241417
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 #af5c6b

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#5CAFA0
Analogous left#AF5C95
Analogous right#AF775C
Split-complement 1#5CAF77
Split-complement 2#5C95AF
Triadic 1#6BAF5C
Triadic 2#5C6BAF
Tetradic#95AF5C

RGB percentages

Red68.6%
Green36.1%
Blue42.0%

CMYK percentages

Cyan0.0%
Magenta47.4%
Yellow38.9%
Key (black)31.4%

Color previews

#af5c6b text on a black background

contrast 4.57:1

Card sample

#af5c6b text on a white background

contrast 4.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af5c6b

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.

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

#af5c6b, answered

What color is #af5c6b?

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

What is the RGB value of #af5c6b?

rgb(175, 92, 107) — 175 red, 92 green and 107 blue out of 255, or 68.6% / 36.1% / 42% by channel.

Is #af5c6b a light or a dark color?

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

Should I use black or white text on #af5c6b?

White. It scores 4.60:1 against #af5c6b, versus 4.57:1 for black — AA at any size.

What is the complementary color of #af5c6b?

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

What colors go well with #af5c6b?

For interface work: #FAF5F6 as the surface, #E4C8CD for borders, #9A4C5A for secondary text, #3F8D6B as an accent and #562A32 for hover and pressed states. For a palette, the analogous pair #AF5C95 and #AF775C stays calm, while #5CAFA0 is the loudest partner.

What is #af5c6b in CMYK for printing?

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

Is #af5c6b warm or cool?

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

Work with #af5c6b in the Color Lab