Skip to content

#af3f50

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

RGB
175, 63, 80
HSL
351°, 47%, 47%
CMYK
0, 64, 54, 31
Luminance
0.1325

Every format

HEX#af3f50
RGBrgb(175, 63, 80)
HSLhsl(351, 47%, 47%)
CMYKcmyk(0%, 64%, 54%, 31%)
LABlab(43.1 46.9 14.7)
LCHlch(43.1 49.2 17.4)
OKLCHoklch(0.528 0.146 14.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3f50 on white: 5.75:1
AA ✓ pass · AA-large · AAA
Aa
#af3f50 on black: 3.65:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green24.7%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta64.0%
Yellow54.3%
Key (black)31.4%

Color previews

#af3f50 text on a black background

contrast 3.65:1

Card sample

#af3f50 text on a white background

contrast 5.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3f50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af3f50 in the Color Lab