Skip to content

#af2000

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

RGB
175, 32, 0
HSL
11°, 100%, 34%
CMYK
0, 82, 100, 31
Luminance
0.1015

Every format

HEX#af2000
RGBrgb(175, 32, 0)
HSLhsl(11, 100%, 34%)
CMYKcmyk(0%, 82%, 100%, 31%)
LABlab(38.1 55.0 51.4)
LCHlch(38.1 75.2 43.1)
OKLCHoklch(0.488 0.181 32.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af2000 on white: 6.93:1
AA ✓ pass · AA-large · AAA
Aa
#af2000 on black: 3.03:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green12.5%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta81.7%
Yellow100.0%
Key (black)31.4%

Color previews

#af2000 text on a black background

contrast 3.03:1

Card sample

#af2000 text on a white background

contrast 6.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af2000

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af2000 in the Color Lab