Skip to content

#af2245

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

RGB
175, 34, 69
HSL
345°, 68%, 41%
CMYK
0, 81, 61, 31
Luminance
0.1069

Every format

HEX#af2245
RGBrgb(175, 34, 69)
HSLhsl(345, 68%, 41%)
CMYKcmyk(0%, 81%, 61%, 31%)
LABlab(39.0 56.7 16.1)
LCHlch(39.0 59.0 15.8)
OKLCHoklch(0.497 0.175 13.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af2245 on white: 6.69:1
AA ✓ pass · AA-large · AAA
Aa
#af2245 on black: 3.14:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green13.3%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta80.6%
Yellow60.6%
Key (black)31.4%

Color previews

#af2245 text on a black background

contrast 3.14:1

Card sample

#af2245 text on a white background

contrast 6.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af2245

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af2245 in the Color Lab