Skip to content
Vectorlight.net

#af140f

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#af140f
RGB
175, 20, 15
HSL
1.88°, 84.21%, 37.25%
OKLCH
0.48 0.19 28.9
Names
—
Lists

Codes

FormatValue
HEX#af140f
RGBrgb(175 20 15)
HSLhsl(1.88 84.21% 37.25%)
OKLCHoklch(0.48 0.19 28.9)
CMYKcmyk(0% 88.57% 91.43% 31.37%)
Android#ffaf140f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
7.16:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.92:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#af140f"
Gradient stop
<stop stop-color="#af140f"/>
CSS variable + fill
:root { --c: #af140f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #af140f;
background-color: #af140f;
bg-[#af140f]