Skip to content

#af490c

a dark, electric orange · warm · closest name: chocolate

RGB
175, 73, 12
HSL
23°, 87%, 37%
CMYK
0, 58, 93, 31
Luminance
0.1391

Every format

HEX#af490c
RGBrgb(175, 73, 12)
HSLhsl(23, 87%, 37%)
CMYKcmyk(0%, 58%, 93%, 31%)
LABlab(44.1 39.0 51.1)
LCHlch(44.1 64.3 52.7)
OKLCHoklch(0.533 0.148 44.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af490c on white: 5.55:1
AA ✓ pass · AA-large · AAA
Aa
#af490c on black: 3.78:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green28.6%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta58.3%
Yellow93.1%
Key (black)31.4%

Color previews

#af490c text on a black background

contrast 3.78:1

Card sample

#af490c text on a white background

contrast 5.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af490c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af490c in the Color Lab