Skip to content

#af343f

a dark, vivid red · warm · closest name: Brown

RGB
175, 52, 63
HSL
355°, 54%, 45%
CMYK
0, 70, 64, 31
Luminance
0.1193

At a glance

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

Hex
#af343f
Hue
355°
red
Saturation
54%
vivid
Lightness
45%
dark
Brightness
69%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1193
WCAG relative
Temperature
Warm
20/100 cool
Color family
Red
Tone
Vivid
Best ink
White
6.20:1
Closest name
Brown
ΔE2000 5.4
Where it sits
Hue355° of 360°
Saturation54%
Lightness45%
Temperature
Warm ← → Cool20% 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#af343f
RGBrgb(175, 52, 63)
HSLhsl(355, 54%, 45%)
CMYKcmyk(0%, 70%, 64%, 31%)
LABlab(41.1 50.3 22.5)
LCHlch(41.1 55.1 24.1)
OKLCHoklch(0.512 0.159 19.9)
Decimal11482175
Display P3color(display-p3 0.686 0.204 0.247)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af343f on white: 6.20:1
AA ✓ pass · AA-large · AAA
Aa
#af343f on black: 3.39:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #55503F
deuteranopia · #746A3C
tritanopia · #C01139

Color scale — 50 to 950

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

#FBF4F5
#F6E9EA
#EECED1
#E5A8AE
#D87D85
#CC525D
#af343f
#9D2F39
#7E252D
#5C1F24
#391317
Base = 600Lightest = 50 · #FBF4F5Darkest = 950 · #391317
:root {
  --brand-50: #FBF4F5;
  --brand-100: #F6E9EA;
  --brand-200: #EECED1;
  --brand-300: #E5A8AE;
  --brand-400: #D87D85;
  --brand-500: #CC525D;
  --brand-600: #af343f;
  --brand-700: #9D2F39;
  --brand-800: #7E252D;
  --brand-900: #5C1F24;
  --brand-950: #391317;
  --brand: #af343f;
  --brand-ink: #ffffff;
}

Colors that work with #af343f

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#FAF4F5
Tinted page background
Border#ECC0C4
Hairlines and dividers
Muted text#9B4B52
Captions on the surface
Accent#2AA279
Second voice, not a rival
Dark variant#621D23
Hover, pressed, headers
Light variant#F9EBED
Selected rows, tints
Dark surface#241415
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 #af343f

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#34AFA4
Analogous left#AF347D
Analogous right#AF6634
Split-complement 1#34AF66
Split-complement 2#347DAF
Triadic 1#3FAF34
Triadic 2#343FAF
Tetradic#7DAF34

RGB percentages

Red68.6%
Green20.4%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta70.3%
Yellow64.0%
Key (black)31.4%

Color previews

#af343f text on a black background

contrast 3.39:1

Card sample

#af343f text on a white background

contrast 6.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af343f

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.

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

#af343f, answered

What color is #af343f?

#af343f is a dark vivid red, closest to Brown (ΔE2000 5.4). It sits at 355° on the hue wheel with 54% saturation and 45% lightness, which reads as warm.

What is the RGB value of #af343f?

rgb(175, 52, 63) — 175 red, 52 green and 63 blue out of 255, or 68.6% / 20.4% / 24.7% by channel.

Is #af343f a light or a dark color?

It is a dark color. Relative luminance is 0.1193 and perceived brightness is 41%, so white text on it reaches 6.20:1.

Should I use black or white text on #af343f?

White. It scores 6.20:1 against #af343f, versus 3.39:1 for black — AA at any size.

What is the complementary color of #af343f?

#34AFA4 sits directly opposite on the wheel. Softer options are the split-complements #34AF66 and #347DAF, which give the same contrast with far less vibration.

What colors go well with #af343f?

For interface work: #FAF4F5 as the surface, #ECC0C4 for borders, #9B4B52 for secondary text, #2AA279 as an accent and #621D23 for hover and pressed states. For a palette, the analogous pair #AF347D and #AF6634 stays calm, while #34AFA4 is the loudest partner.

What is #af343f in CMYK for printing?

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

Is #af343f warm or cool?

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

Work with #af343f in the Color Lab