Skip to content

#af807c

a balanced, soft red · warm · closest name: Rosy Brown

RGB
175, 128, 124
HSL
5°, 24%, 59%
CMYK
0, 27, 29, 31
Luminance
0.2601

At a glance

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

Hex
#af807c
Hue
red
Saturation
24%
soft
Lightness
59%
balanced
Brightness
69%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2601
WCAG relative
Temperature
Warm
25/100 cool
Color family
Red
Tone
Soft
Best ink
Black
6.20:1
Closest name
Rosy Brown
ΔE2000 5.2
Where it sits
Hue5° of 360°
Saturation24%
Lightness59%
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#af807c
RGBrgb(175, 128, 124)
HSLhsl(5, 24%, 59%)
CMYKcmyk(0%, 27%, 29%, 31%)
LABlab(58.0 17.6 9.3)
LCHlch(58.0 19.9 27.9)
OKLCHoklch(0.645 0.059 24.3)
Decimal11501692
Display P3color(display-p3 0.686 0.502 0.486)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af807c on white: 3.39:1
AA ✗ fail · AA-large · AAA
Aa
#af807c on black: 6.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #89867C
deuteranopia · #948F7B
tritanopia · #B97B7F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af807c 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.

#F9F6F6
#F3EDED
#E5D8D7
#D4BBB9
#BF9A96
#af807c
#98615D
#7F514D
#65413E
#4B3230
#2F1F1E
Base = 500Lightest = 50 · #F9F6F6Darkest = 950 · #2F1F1E
:root {
  --brand-50: #F9F6F6;
  --brand-100: #F3EDED;
  --brand-200: #E5D8D7;
  --brand-300: #D4BBB9;
  --brand-400: #BF9A96;
  --brand-500: #af807c;
  --brand-600: #98615D;
  --brand-700: #7F514D;
  --brand-800: #65413E;
  --brand-900: #4B3230;
  --brand-950: #2F1F1E;
  --brand: #af807c;
  --brand-ink: #000000;
}

Colors that work with #af807c

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9F6F5
Tinted page background
Border#E0CECC
Hairlines and dividers
Muted text#8F5B57
Captions on the surface
Accent#498379
Second voice, not a rival
Dark variant#4F3330
Hover, pressed, headers
Light variant#F5F0EF
Selected rows, tints
Dark surface#231615
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 #af807c

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#7CABAF
Analogous left#AF7C91
Analogous right#AF997C
Split-complement 1#7CAF99
Split-complement 2#7C91AF
Triadic 1#7CAF80
Triadic 2#807CAF
Tetradic#91AF7C

RGB percentages

Red68.6%
Green50.2%
Blue48.6%

CMYK percentages

Cyan0.0%
Magenta26.9%
Yellow29.1%
Key (black)31.4%

Color previews

#af807c text on a black background

contrast 6.20:1

Card sample

#af807c text on a white background

contrast 3.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af807c

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.

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

#af807c, answered

What color is #af807c?

#af807c is a balanced soft red, closest to Rosy Brown (ΔE2000 5.2). It sits at 5° on the hue wheel with 24% saturation and 59% lightness, which reads as warm.

What is the RGB value of #af807c?

rgb(175, 128, 124) — 175 red, 128 green and 124 blue out of 255, or 68.6% / 50.2% / 48.6% by channel.

Is #af807c a light or a dark color?

It is a mid-tone. Relative luminance is 0.2601 and perceived brightness is 56%, so black text on it reaches 6.20:1.

Should I use black or white text on #af807c?

Black. It scores 6.20:1 against #af807c, versus 3.39:1 for white — AA at any size.

What is the complementary color of #af807c?

#7CABAF sits directly opposite on the wheel. Softer options are the split-complements #7CAF99 and #7C91AF, which give the same contrast with far less vibration.

What colors go well with #af807c?

For interface work: #F9F6F5 as the surface, #E0CECC for borders, #8F5B57 for secondary text, #498379 as an accent and #4F3330 for hover and pressed states. For a palette, the analogous pair #AF7C91 and #AF997C stays calm, while #7CABAF is the loudest partner.

What is #af807c in CMYK for printing?

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

Is #af807c 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 #AF8E7C; nudged cooler, #B17A8A.

Work with #af807c in the Color Lab