Skip to content

#4d0803

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

RGB
77, 8, 3
HSL
4°, 93%, 16%
CMYK
0, 90, 96, 70
Luminance
0.0176

At a glance

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

Hex
#4d0803
Hue
red
Saturation
93%
electric
Lightness
16%
deep
Brightness
30%
HSV value
Perceived
17%
weighted brightness
Luminance
0.0176
WCAG relative
Temperature
Warm
14/100 cool
Color family
Red
Tone
Electric
Best ink
White
15.54:1
Closest name
Maroon
ΔE2000 11.1
Where it sits
Hue4° of 360°
Saturation93%
Lightness16%
Temperature
Warm ← → Cool14% 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#4d0803
RGBrgb(77, 8, 3)
HSLhsl(4, 93%, 16%)
CMYKcmyk(0%, 90%, 96%, 70%)
LABlab(14.2 30.8 20.7)
LCHlch(14.2 37.1 33.9)
OKLCHoklch(0.272 0.101 30.4)
Decimal5048323
Display P3color(display-p3 0.302 0.031 0.012)

Copy-ready code

/* CSS */
color: #4d0803;
background-color: #4d0803;
/* Tailwind (arbitrary) */
class="text-[#4d0803] bg-[#4d0803]"
/* SCSS */
$brand: #4d0803;
/* SwiftUI */
Color(red: 0.302, green: 0.031, blue: 0.012)
/* Android */
Color.parseColor("#4d0803")
/* Flutter */
Color(0xFF4D0803)
/* Python / OpenCV (BGR) */
(3, 8, 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 #4d0803 · 15.54:1
Use #ffffffAAA at every size.
Aa
White text · 15.54:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.35:1
AA fail · AA large fail · AAA fail
Reading the other direction: #4d0803 as text scores 15.54:1 on white and 1.35:1 on black.

Accessibility — WCAG contrast

Aa
#4d0803 on white: 15.54:1
AA ✓ pass · AA-large · AAA
Aa
#4d0803 on black: 1.35:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1F1A02
deuteranopia · #302900
tritanopia · #560008

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #4d0803 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.

#FDF2F2
#FBE6E4
#F9C6C3
#FB9A93
#F9685D
#F73527
#EC1909
#C41508
#9D1006
#711009
#4d0803
Base = 950Lightest = 50 · #FDF2F2Darkest = 950 · #4d0803
:root {
  --brand-50: #FDF2F2;
  --brand-100: #FBE6E4;
  --brand-200: #F9C6C3;
  --brand-300: #FB9A93;
  --brand-400: #F9685D;
  --brand-500: #F73527;
  --brand-600: #EC1909;
  --brand-700: #C41508;
  --brand-800: #9D1006;
  --brand-900: #711009;
  --brand-950: #4d0803;
  --brand: #4d0803;
  --brand-ink: #ffffff;
}

Colors that work with #4d0803

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#FAF5F4
Tinted page background
Border#EDC3C0
Hairlines and dividers
Muted text#9B504B
Captions on the surface
Accent#014F41
Second voice, not a rival
Dark variant#7B0D05
Hover, pressed, headers
Light variant#FEE8E6
Selected rows, tints
Dark surface#241514
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 #4d0803

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#03484D
Analogous left#4D0323
Analogous right#4D2D03
Split-complement 1#034D2D
Split-complement 2#03234D
Triadic 1#034D08
Triadic 2#08034D
Tetradic#234D03

RGB percentages

Red30.2%
Green3.1%
Blue1.2%

CMYK percentages

Cyan0.0%
Magenta89.6%
Yellow96.1%
Key (black)69.8%

Color previews

#4d0803 text on a black background

contrast 1.35:1

Card sample

#4d0803 text on a white background

contrast 15.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4d0803

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.

#4d0803 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.

#4d0803, answered

What color is #4d0803?

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

What is the RGB value of #4d0803?

rgb(77, 8, 3) — 77 red, 8 green and 3 blue out of 255, or 30.2% / 3.1% / 1.2% by channel.

Is #4d0803 a light or a dark color?

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

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

White. It scores 15.54:1 against #4d0803, versus 1.35:1 for black — AAA at any size.

What is the complementary color of #4d0803?

#03484D sits directly opposite on the wheel. Softer options are the split-complements #034D2D and #03234D, which give the same contrast with far less vibration.

What colors go well with #4d0803?

For interface work: #FAF5F4 as the surface, #EDC3C0 for borders, #9B504B for secondary text, #014F41 as an accent and #7B0D05 for hover and pressed states. For a palette, the analogous pair #4D0323 and #4D2D03 stays calm, while #03484D is the loudest partner.

What is #4d0803 in CMYK for printing?

cmyk(0%, 90%, 96%, 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 #4d0803 warm or cool?

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

Work with #4d0803 in the Color Lab