Skip to content

#4d0413

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

RGB
77, 4, 19
HSL
348°, 90%, 16%
CMYK
0, 95, 75, 70
Luminance
0.0171

At a glance

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

Hex
#4d0413
Hue
348°
red
Saturation
90%
electric
Lightness
16%
deep
Brightness
30%
HSV value
Perceived
17%
weighted brightness
Luminance
0.0171
WCAG relative
Temperature
Warm
23/100 cool
Color family
Red
Tone
Electric
Best ink
White
15.64:1
Closest name
Maroon
ΔE2000 14.4
Where it sits
Hue348° of 360°
Saturation90%
Lightness16%
Temperature
Warm ← → Cool23% 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#4d0413
RGBrgb(77, 4, 19)
HSLhsl(348, 90%, 16%)
CMYKcmyk(0%, 95%, 75%, 70%)
LABlab(13.9 33.0 12.8)
LCHlch(13.9 35.4 21.3)
OKLCHoklch(0.271 0.103 17.4)
Decimal5047315
Display P3color(display-p3 0.302 0.016 0.075)

Copy-ready code

/* CSS */
color: #4d0413;
background-color: #4d0413;
/* Tailwind (arbitrary) */
class="text-[#4d0413] bg-[#4d0413]"
/* SCSS */
$brand: #4d0413;
/* SwiftUI */
Color(red: 0.302, green: 0.016, blue: 0.075)
/* Android */
Color.parseColor("#4d0413")
/* Flutter */
Color(0xFF4D0413)
/* Python / OpenCV (BGR) */
(19, 4, 77)

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 #4d0413 · 15.64:1
Use #ffffffAAA at every size.
Aa
White text · 15.64:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.34:1
AA fail · AA large fail · AAA fail
Reading the other direction: #4d0413 as text scores 15.64:1 on white and 1.34:1 on black.

Accessibility — WCAG contrast

Aa
#4d0413 on white: 15.64:1
AA ✓ pass · AA-large · AAA
Aa
#4d0413 on black: 1.34:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1B1A13
deuteranopia · #2E2911
tritanopia · #55000A

Color scale — 50 to 950

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

#FDF2F4
#FBE5E9
#F8C3CE
#F994A9
#F75F7E
#F42A53
#E90C39
#C20A30
#9B0826
#700A1F
#4d0413
Base = 950Lightest = 50 · #FDF2F4Darkest = 950 · #4d0413
:root {
  --brand-50: #FDF2F4;
  --brand-100: #FBE5E9;
  --brand-200: #F8C3CE;
  --brand-300: #F994A9;
  --brand-400: #F75F7E;
  --brand-500: #F42A53;
  --brand-600: #E90C39;
  --brand-700: #C20A30;
  --brand-800: #9B0826;
  --brand-900: #700A1F;
  --brand-950: #4d0413;
  --brand: #4d0413;
  --brand-ink: #ffffff;
}

Colors that work with #4d0413

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#FAF4F6
Tinted page background
Border#EDC0C9
Hairlines and dividers
Muted text#9B4B5B
Captions on the surface
Accent#024F2C
Second voice, not a rival
Dark variant#79061E
Hover, pressed, headers
Light variant#FEE7EB
Selected rows, tints
Dark surface#241417
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 #4d0413

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • 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#044D3E
Analogous left#4D0438
Analogous right#4D1A04
Split-complement 1#044D1A
Split-complement 2#04384D
Triadic 1#134D04
Triadic 2#04134D
Tetradic#384D04

RGB percentages

Red30.2%
Green1.6%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta94.8%
Yellow75.3%
Key (black)69.8%

Color previews

#4d0413 text on a black background

contrast 1.34:1

Card sample

#4d0413 text on a white background

contrast 15.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4d0413

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.

#4d0413 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#4d0413, answered

What color is #4d0413?

#4d0413 is a deep electric red, closest to Maroon (ΔE2000 14.4). It sits at 348° on the hue wheel with 90% saturation and 16% lightness, which reads as warm.

What is the RGB value of #4d0413?

rgb(77, 4, 19) — 77 red, 4 green and 19 blue out of 255, or 30.2% / 1.6% / 7.5% by channel.

Is #4d0413 a light or a dark color?

It is a dark color. Relative luminance is 0.0171 and perceived brightness is 17%, so white text on it reaches 15.64:1.

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

White. It scores 15.64:1 against #4d0413, versus 1.34:1 for black — AAA at any size.

What is the complementary color of #4d0413?

#044D3E sits directly opposite on the wheel. Softer options are the split-complements #044D1A and #04384D, which give the same contrast with far less vibration.

What colors go well with #4d0413?

For interface work: #FAF4F6 as the surface, #EDC0C9 for borders, #9B4B5B for secondary text, #024F2C as an accent and #79061E for hover and pressed states. For a palette, the analogous pair #4D0438 and #4D1A04 stays calm, while #044D3E is the loudest partner.

What is #4d0413 in CMYK for printing?

cmyk(0%, 95%, 75%, 70%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #4d0413 warm or cool?

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

Work with #4d0413 in the Color Lab