Skip to content

#4c1f21

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

RGB
76, 31, 33
HSL
357°, 42%, 21%
CMYK
0, 59, 57, 70
Luminance
0.0263

At a glance

Every number on this page in one read: what #4c1f21 is made of, how bright it looks, and which way it leans.

Hex
#4c1f21
Hue
357°
red
Saturation
42%
soft
Lightness
21%
deep
Brightness
30%
HSV value
Perceived
19%
weighted brightness
Luminance
0.0263
WCAG relative
Temperature
Warm
18/100 cool
Color family
Red
Tone
Soft
Best ink
White
13.77:1
Closest name
Maroon
ΔE2000 15.6
Where it sits
Hue357° of 360°
Saturation42%
Lightness21%
Temperature
Warm ← → Cool18% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#4c1f21
RGBrgb(76, 31, 33)
HSLhsl(357, 42%, 21%)
CMYKcmyk(0%, 59%, 57%, 70%)
LABlab(18.5 21.5 9.0)
LCHlch(18.5 23.3 22.7)
OKLCHoklch(0.305 0.068 19.3)
Decimal4988705
Display P3color(display-p3 0.298 0.122 0.129)

Copy-ready code

/* CSS */
color: #4c1f21;
background-color: #4c1f21;
/* Tailwind (arbitrary) */
class="text-[#4c1f21] bg-[#4c1f21]"
/* SCSS */
$brand: #4c1f21;
/* SwiftUI */
Color(red: 0.298, green: 0.122, blue: 0.129)
/* Android */
Color.parseColor("#4c1f21")
/* Flutter */
Color(0xFF4C1F21)
/* Python / OpenCV (BGR) */
(33, 31, 76)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #4c1f21 · 13.77:1
Use #ffffffAAA at every size.
Aa
White text · 13.77:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.53:1
AA fail · AA large fail · AAA fail
Reading the other direction: #4c1f21 as text scores 13.77:1 on white and 1.53:1 on black.

Accessibility — WCAG contrast

Aa
#4c1f21 on white: 13.77:1
AA ✓ pass · AA-large · AAA
Aa
#4c1f21 on black: 1.53:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #292721
deuteranopia · #343120
tritanopia · #531820

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #4c1f21 is pinned to step 900; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF5F5
#F5EBEB
#EAD2D3
#DFAFB1
#CE878B
#BE6064
#AE474C
#913B3F
#742F32
#4c1f21
#351719
Base = 900Lightest = 50 · #FAF5F5Darkest = 950 · #351719
:root {
  --brand-50: #FAF5F5;
  --brand-100: #F5EBEB;
  --brand-200: #EAD2D3;
  --brand-300: #DFAFB1;
  --brand-400: #CE878B;
  --brand-500: #BE6064;
  --brand-600: #AE474C;
  --brand-700: #913B3F;
  --brand-800: #742F32;
  --brand-900: #4c1f21;
  --brand-950: #351719;
  --brand: #4c1f21;
  --brand-ink: #ffffff;
}

Colors that work with #4c1f21

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4F5
Tinted page background
Border#E7C5C7
Hairlines and dividers
Muted text#9B4B4E
Captions on the surface
Accent#1D4E40
Second voice, not a rival
Dark variant#5B2527
Hover, pressed, headers
Light variant#F8EDED
Selected rows, tints
Dark surface#241414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #4c1f21

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#1F4C4A
Analogous left#4C1F38
Analogous right#4C341F
Split-complement 1#1F4C34
Split-complement 2#1F384C
Triadic 1#214C1F
Triadic 2#1F214C
Tetradic#384C1F

RGB percentages

Red29.8%
Green12.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta59.2%
Yellow56.6%
Key (black)70.2%

Color previews

#4c1f21 text on a black background

contrast 1.53:1

Card sample

#4c1f21 text on a white background

contrast 13.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4c1f21

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#4c1f21 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Food and drinkEntertainmentRetailSport
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#4c1f21, answered

What color is #4c1f21?

#4c1f21 is a deep soft red, closest to Maroon (ΔE2000 15.6). It sits at 357° on the hue wheel with 42% saturation and 21% lightness, which reads as warm.

What is the RGB value of #4c1f21?

rgb(76, 31, 33) — 76 red, 31 green and 33 blue out of 255, or 29.8% / 12.2% / 12.9% by channel.

Is #4c1f21 a light or a dark color?

It is a dark color. Relative luminance is 0.0263 and perceived brightness is 19%, so white text on it reaches 13.77:1.

Should I use black or white text on #4c1f21?

White. It scores 13.77:1 against #4c1f21, versus 1.53:1 for black — AAA at any size.

What is the complementary color of #4c1f21?

#1F4C4A sits directly opposite on the wheel. Softer options are the split-complements #1F4C34 and #1F384C, which give the same contrast with far less vibration.

What colors go well with #4c1f21?

For interface work: #FAF4F5 as the surface, #E7C5C7 for borders, #9B4B4E for secondary text, #1D4E40 as an accent and #5B2527 for hover and pressed states. For a palette, the analogous pair #4C1F38 and #4C341F stays calm, while #1F4C4A is the loudest partner.

What is #4c1f21 in CMYK for printing?

cmyk(0%, 59%, 57%, 70%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #4c1f21 warm or cool?

Warm — it scores 18 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4C2E1F; nudged cooler, #4D1E31.

Work with #4c1f21 in the Color Lab