Skip to content

#4f2021

a deep, soft red · warm · closest name: black

RGB
79, 32, 33
HSL
359°, 42%, 22%
CMYK
0, 60, 58, 69
Luminance
0.0281

Every format

HEX#4f2021
RGBrgb(79, 32, 33)
HSLhsl(359, 42%, 22%)
CMYKcmyk(0%, 60%, 58%, 69%)
LABlab(19.3 22.2 10.1)
LCHlch(19.3 24.4 24.5)
OKLCHoklch(0.312 0.071 20.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f2021 on white: 13.45:1
AA ✓ pass · AA-large · AAA
Aa
#4f2021 on black: 1.56:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green12.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta59.5%
Yellow58.2%
Key (black)69.0%

Color previews

#4f2021 text on a black background

contrast 1.56:1

Card sample

#4f2021 text on a white background

contrast 13.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 32, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 32, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f2021;
background: linear-gradient(135deg, #4f2021, #4F3E20);

Monochromatic scale

Palettes built from #4f2021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4f2021 in the Color Lab