Skip to content

#af260f

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

RGB
175, 38, 15
HSL
9°, 84%, 37%
CMYK
0, 78, 91, 31
Luminance
0.1053

Every format

HEX#af260f
RGBrgb(175, 38, 15)
HSLhsl(9, 84%, 37%)
CMYKcmyk(0%, 78%, 91%, 31%)
LABlab(38.8 53.4 46.4)
LCHlch(38.8 70.7 41.0)
OKLCHoklch(0.493 0.176 31.9)

Copy-ready code

/* CSS */
color: #af260f;
background-color: #af260f;
/* Tailwind (arbitrary) */
class="text-[#af260f] bg-[#af260f]"
/* SCSS */
$brand: #af260f;
/* SwiftUI */
Color(red: 0.686, green: 0.149, blue: 0.059)
/* Android */
Color.parseColor("#af260f")

Accessibility — WCAG contrast

Aa
#af260f on white: 6.76:1
AA ✓ pass · AA-large · AAA
Aa
#af260f on black: 3.11:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green14.9%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta78.3%
Yellow91.4%
Key (black)31.4%

Color previews

#af260f text on a black background

contrast 3.11:1

Card sample

#af260f text on a white background

contrast 6.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af260f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af260f in the Color Lab