Skip to content

#af0607

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

RGB
175, 6, 7
HSL
360°, 93%, 36%
CMYK
0, 97, 96, 31
Luminance
0.0926

At a glance

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

Hex
#af0607
Hue
360°
red
Saturation
93%
electric
Lightness
36%
dark
Brightness
69%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0926
WCAG relative
Temperature
Warm
17/100 cool
Color family
Red
Tone
Electric
Best ink
White
7.36:1
Closest name
Firebrick
ΔE2000 4.5
Where it sits
Hue360° of 360°
Saturation93%
Lightness36%
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#af0607
RGBrgb(175, 6, 7)
HSLhsl(360, 93%, 36%)
CMYKcmyk(0%, 97%, 96%, 31%)
LABlab(36.5 59.8 47.9)
LCHlch(36.5 76.6 38.7)
OKLCHoklch(0.476 0.192 28.8)
Decimal11470343
Display P3color(display-p3 0.686 0.024 0.027)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af0607 on white: 7.36:1
AA ✓ pass · AA-large · AAA
Aa
#af0607 on black: 2.85:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #494002
deuteranopia · #6F6200
tritanopia · #C2000D

Color scale — 50 to 950

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

#FDF2F2
#FBE4E4
#F9C2C3
#FB9393
#F95C5D
#F82627
#ED080A
#C50708
#af0607
#720909
#470506
Base = 800Lightest = 50 · #FDF2F2Darkest = 950 · #470506
:root {
  --brand-50: #FDF2F2;
  --brand-100: #FBE4E4;
  --brand-200: #F9C2C3;
  --brand-300: #FB9393;
  --brand-400: #F95C5D;
  --brand-500: #F82627;
  --brand-600: #ED080A;
  --brand-700: #C50708;
  --brand-800: #af0607;
  --brand-900: #720909;
  --brand-950: #470506;
  --brand: #af0607;
  --brand-ink: #ffffff;
}

Colors that work with #af0607

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#02CA96
Second voice, not a rival
Dark variant#7B0405
Hover, pressed, headers
Light variant#FEE6E7
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 #af0607

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#06AFAE
Analogous left#AF065C
Analogous right#AF5906
Split-complement 1#06AF59
Split-complement 2#065CAF
Triadic 1#07AF06
Triadic 2#0607AF
Tetradic#5CAF06

RGB percentages

Red68.6%
Green2.4%
Blue2.7%

CMYK percentages

Cyan0.0%
Magenta96.6%
Yellow96.0%
Key (black)31.4%

Color previews

#af0607 text on a black background

contrast 2.85:1

Card sample

#af0607 text on a white background

contrast 7.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af0607

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.

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

#af0607, answered

What color is #af0607?

#af0607 is a dark electric red, closest to Firebrick (ΔE2000 4.5). It sits at 360° on the hue wheel with 93% saturation and 36% lightness, which reads as warm.

What is the RGB value of #af0607?

rgb(175, 6, 7) — 175 red, 6 green and 7 blue out of 255, or 68.6% / 2.4% / 2.7% by channel.

Is #af0607 a light or a dark color?

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

Should I use black or white text on #af0607?

White. It scores 7.36:1 against #af0607, versus 2.85:1 for black — AAA at any size.

What is the complementary color of #af0607?

#06AFAE sits directly opposite on the wheel. Softer options are the split-complements #06AF59 and #065CAF, which give the same contrast with far less vibration.

What colors go well with #af0607?

For interface work: #FAF4F4 as the surface, #EDC0C0 for borders, #9B4B4B for secondary text, #02CA96 as an accent and #7B0405 for hover and pressed states. For a palette, the analogous pair #AF065C and #AF5906 stays calm, while #06AFAE is the loudest partner.

What is #af0607 in CMYK for printing?

cmyk(0%, 97%, 96%, 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 #af0607 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 #AF2F06; nudged cooler, #B10445.

Work with #af0607 in the Color Lab