Skip to content

#af0113

a dark, electric red · warm · closest name: Firebrick

RGB
175, 1, 19
HSL
354°, 99%, 35%
CMYK
0, 99, 89, 31
Luminance
0.0918

At a glance

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

Hex
#af0113
Hue
354°
red
Saturation
99%
electric
Lightness
35%
dark
Brightness
69%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0918
WCAG relative
Temperature
Warm
20/100 cool
Color family
Red
Tone
Electric
Best ink
White
7.40:1
Closest name
Firebrick
ΔE2000 3
Where it sits
Hue354° of 360°
Saturation99%
Lightness35%
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#af0113
RGBrgb(175, 1, 19)
HSLhsl(354, 99%, 35%)
CMYKcmyk(0%, 99%, 89%, 31%)
LABlab(36.3 60.5 42.8)
LCHlch(36.3 74.1 35.3)
OKLCHoklch(0.475 0.193 26.6)
Decimal11469075
Display P3color(display-p3 0.686 0.004 0.075)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af0113 on white: 7.40:1
AA ✓ pass · AA-large · AAA
Aa
#af0113 on black: 2.84:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #483F10
deuteranopia · #6E6104
tritanopia · #C2000E

Color scale — 50 to 950

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

#FEF1F2
#FCE3E6
#FBC0C6
#FE8F9B
#FE5869
#FE2037
#F3011A
#CB0116
#af0113
#750611
#49030B
Base = 800Lightest = 50 · #FEF1F2Darkest = 950 · #49030B
:root {
  --brand-50: #FEF1F2;
  --brand-100: #FCE3E6;
  --brand-200: #FBC0C6;
  --brand-300: #FE8F9B;
  --brand-400: #FE5869;
  --brand-500: #FE2037;
  --brand-600: #F3011A;
  --brand-700: #CB0116;
  --brand-800: #af0113;
  --brand-900: #750611;
  --brand-950: #49030B;
  --brand: #af0113;
  --brand-ink: #ffffff;
}

Colors that work with #af0113

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#EDC0C4
Hairlines and dividers
Muted text#9B4B53
Captions on the surface
Accent#00CC84
Second voice, not a rival
Dark variant#7F010E
Hover, pressed, headers
Light variant#FFE6E8
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 #af0113

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
  • Text on black or near-black surfaces
  • 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#01AF9D
Analogous left#AF016A
Analogous right#AF4601
Split-complement 1#01AF46
Split-complement 2#016AAF
Triadic 1#13AF01
Triadic 2#0113AF
Tetradic#6AAF01

RGB percentages

Red68.6%
Green0.4%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta99.4%
Yellow89.1%
Key (black)31.4%

Color previews

#af0113 text on a black background

contrast 2.84:1

Card sample

#af0113 text on a white background

contrast 7.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af0113

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.

#af0113 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#af0113, answered

What color is #af0113?

#af0113 is a dark electric red, closest to Firebrick (ΔE2000 3). It sits at 354° on the hue wheel with 99% saturation and 35% lightness, which reads as warm.

What is the RGB value of #af0113?

rgb(175, 1, 19) — 175 red, 1 green and 19 blue out of 255, or 68.6% / 0.4% / 7.5% by channel.

Is #af0113 a light or a dark color?

It is a dark color. Relative luminance is 0.0918 and perceived brightness is 38%, so white text on it reaches 7.40:1.

Should I use black or white text on #af0113?

White. It scores 7.40:1 against #af0113, versus 2.84:1 for black — AAA at any size.

What is the complementary color of #af0113?

#01AF9D sits directly opposite on the wheel. Softer options are the split-complements #01AF46 and #016AAF, which give the same contrast with far less vibration.

What colors go well with #af0113?

For interface work: #FAF4F5 as the surface, #EDC0C4 for borders, #9B4B53 for secondary text, #00CC84 as an accent and #7F010E for hover and pressed states. For a palette, the analogous pair #AF016A and #AF4601 stays calm, while #01AF9D is the loudest partner.

What is #af0113 in CMYK for printing?

cmyk(0%, 99%, 89%, 31%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #af0113 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 #AF2501; nudged cooler, #B00053.

Work with #af0113 in the Color Lab