Skip to content

#af2018

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

RGB
175, 32, 24
HSL
3°, 76%, 39%
CMYK
0, 82, 86, 31
Luminance
0.1021

Every format

HEX#af2018
RGBrgb(175, 32, 24)
HSLhsl(3, 76%, 39%)
CMYKcmyk(0%, 82%, 86%, 31%)
LABlab(38.2 55.3 41.9)
LCHlch(38.2 69.4 37.1)
OKLCHoklch(0.489 0.179 29.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af2018 on white: 6.90:1
AA ✓ pass · AA-large · AAA
Aa
#af2018 on black: 3.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green12.5%
Blue9.4%

CMYK percentages

Cyan0.0%
Magenta81.7%
Yellow86.3%
Key (black)31.4%

Color previews

#af2018 text on a black background

contrast 3.04:1

Card sample

#af2018 text on a white background

contrast 6.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af2018

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af2018 in the Color Lab