Skip to content

#af2f30

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

RGB
175, 47, 48
HSL
360°, 58%, 44%
CMYK
0, 73, 73, 31
Luminance
0.1136

At a glance

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

Hex
#af2f30
Hue
360°
red
Saturation
58%
vivid
Lightness
44%
dark
Brightness
69%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1136
WCAG relative
Temperature
Warm
17/100 cool
Color family
Red
Tone
Vivid
Best ink
White
6.42:1
Closest name
Brown
ΔE2000 2.4
Where it sits
Hue360° of 360°
Saturation58%
Lightness44%
Temperature
Warm ← → Cool17% 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#af2f30
RGBrgb(175, 47, 48)
HSLhsl(360, 58%, 44%)
CMYKcmyk(0%, 73%, 73%, 31%)
LABlab(40.2 51.4 30.5)
LCHlch(40.2 59.7 30.7)
OKLCHoklch(0.504 0.165 25.0)
Decimal11480880
Display P3color(display-p3 0.686 0.184 0.188)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af2f30 on white: 6.42:1
AA ✓ pass · AA-large · AAA
Aa
#af2f30 on black: 3.27:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #544D2F
deuteranopia · #74692C
tritanopia · #C10031

Color scale — 50 to 950

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

#FBF4F4
#F7E9E9
#EFCDCD
#E7A7A7
#DB7A7B
#D04E4F
#C13435
#af2f30
#812323
#5E1D1D
#3B1212
Base = 700Lightest = 50 · #FBF4F4Darkest = 950 · #3B1212
:root {
  --brand-50: #FBF4F4;
  --brand-100: #F7E9E9;
  --brand-200: #EFCDCD;
  --brand-300: #E7A7A7;
  --brand-400: #DB7A7B;
  --brand-500: #D04E4F;
  --brand-600: #C13435;
  --brand-700: #af2f30;
  --brand-800: #812323;
  --brand-900: #5E1D1D;
  --brand-950: #3B1212;
  --brand: #af2f30;
  --brand-ink: #ffffff;
}

Colors that work with #af2f30

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#FAF4F4
Tinted page background
Border#EDC0C0
Hairlines and dividers
Muted text#9B4B4B
Captions on the surface
Accent#27A585
Second voice, not a rival
Dark variant#651B1C
Hover, pressed, headers
Light variant#FAEBEB
Selected rows, tints
Dark surface#241414
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 #af2f30

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#2FAFAE
Analogous left#AF2F70
Analogous right#AF6E2F
Split-complement 1#2FAF6E
Split-complement 2#2F70AF
Triadic 1#30AF2F
Triadic 2#2F30AF
Tetradic#70AF2F

RGB percentages

Red68.6%
Green18.4%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta73.1%
Yellow72.6%
Key (black)31.4%

Color previews

#af2f30 text on a black background

contrast 3.27:1

Card sample

#af2f30 text on a white background

contrast 6.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af2f30

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.

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

#af2f30, answered

What color is #af2f30?

#af2f30 is a dark vivid red, closest to Brown (ΔE2000 2.4). It sits at 360° on the hue wheel with 58% saturation and 44% lightness, which reads as warm.

What is the RGB value of #af2f30?

rgb(175, 47, 48) — 175 red, 47 green and 48 blue out of 255, or 68.6% / 18.4% / 18.8% by channel.

Is #af2f30 a light or a dark color?

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

Should I use black or white text on #af2f30?

White. It scores 6.42:1 against #af2f30, versus 3.27:1 for black — AA at any size.

What is the complementary color of #af2f30?

#2FAFAE sits directly opposite on the wheel. Softer options are the split-complements #2FAF6E and #2F70AF, which give the same contrast with far less vibration.

What colors go well with #af2f30?

For interface work: #FAF4F4 as the surface, #EDC0C0 for borders, #9B4B4B for secondary text, #27A585 as an accent and #651B1C for hover and pressed states. For a palette, the analogous pair #AF2F70 and #AF6E2F stays calm, while #2FAFAE is the loudest partner.

What is #af2f30 in CMYK for printing?

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

Is #af2f30 warm or cool?

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

Work with #af2f30 in the Color Lab