Skip to content

#af7979

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

RGB
175, 121, 121
HSL
0°, 25%, 58%
CMYK
0, 31, 31, 31
Luminance
0.2417

At a glance

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

Hex
#af7979
Hue
red
Saturation
25%
soft
Lightness
58%
balanced
Brightness
69%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2417
WCAG relative
Temperature
Warm
26/100 cool
Color family
Red
Tone
Soft
Best ink
Black
5.83:1
Closest name
Rosy Brown
ΔE2000 7
Where it sits
Hue0° of 360°
Saturation25%
Lightness58%
Temperature
Warm ← → Cool26% 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#af7979
RGBrgb(175, 121, 121)
HSLhsl(0, 25%, 58%)
CMYKcmyk(0%, 31%, 31%, 31%)
LABlab(56.3 21.1 8.5)
LCHlch(56.3 22.8 22.0)
OKLCHoklch(0.631 0.068 19.1)
Decimal11499897
Display P3color(display-p3 0.686 0.475 0.475)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af7979 on white: 3.60:1
AA ✗ fail · AA-large · AAA
Aa
#af7979 on black: 5.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #838179
deuteranopia · #908B78
tritanopia · #BA7379

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af7979 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
#E5D6D6
#D5B9B9
#C09696
#af7979
#995C5C
#804C4C
#663D3D
#4B2F2F
#2F1D1D
Base = 500Lightest = 50 · #F9F6F6Darkest = 950 · #2F1D1D
:root {
  --brand-50: #F9F6F6;
  --brand-100: #F3EDED;
  --brand-200: #E5D6D6;
  --brand-300: #D5B9B9;
  --brand-400: #C09696;
  --brand-500: #af7979;
  --brand-600: #995C5C;
  --brand-700: #804C4C;
  --brand-800: #663D3D;
  --brand-900: #4B2F2F;
  --brand-950: #2F1D1D;
  --brand: #af7979;
  --brand-ink: #000000;
}

Colors that work with #af7979

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#F9F5F5
Tinted page background
Border#E0CCCC
Hairlines and dividers
Muted text#905656
Captions on the surface
Accent#488475
Second voice, not a rival
Dark variant#503030
Hover, pressed, headers
Light variant#F5EFEF
Selected rows, tints
Dark surface#231515
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 #af7979

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#79AFAF
Analogous left#AF7994
Analogous right#AF9479
Split-complement 1#79AF94
Split-complement 2#7994AF
Triadic 1#79AF79
Triadic 2#7979AF
Tetradic#94AF79

RGB percentages

Red68.6%
Green47.5%
Blue47.5%

CMYK percentages

Cyan0.0%
Magenta30.9%
Yellow30.9%
Key (black)31.4%

Color previews

#af7979 text on a black background

contrast 5.83:1

Card sample

#af7979 text on a white background

contrast 3.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af7979

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.

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

#af7979, answered

What color is #af7979?

#af7979 is a balanced soft red, closest to Rosy Brown (ΔE2000 7). It sits at 0° on the hue wheel with 25% saturation and 58% lightness, which reads as warm.

What is the RGB value of #af7979?

rgb(175, 121, 121) — 175 red, 121 green and 121 blue out of 255, or 68.6% / 47.5% / 47.5% by channel.

Is #af7979 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2417 and perceived brightness is 55%, so black text on it reaches 5.83:1.

Should I use black or white text on #af7979?

Black. It scores 5.83:1 against #af7979, versus 3.60:1 for white — AA at any size.

What is the complementary color of #af7979?

#79AFAF sits directly opposite on the wheel. Softer options are the split-complements #79AF94 and #7994AF, which give the same contrast with far less vibration.

What colors go well with #af7979?

For interface work: #F9F5F5 as the surface, #E0CCCC for borders, #905656 for secondary text, #488475 as an accent and #503030 for hover and pressed states. For a palette, the analogous pair #AF7994 and #AF9479 stays calm, while #79AFAF is the loudest partner.

What is #af7979 in CMYK for printing?

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

Is #af7979 warm or cool?

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

Work with #af7979 in the Color Lab