Skip to content

#4f030d

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

RGB
79, 3, 13
HSL
352°, 93%, 16%
CMYK
0, 96, 84, 69
Luminance
0.0176

At a glance

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

Hex
#4f030d
Hue
352°
red
Saturation
93%
electric
Lightness
16%
deep
Brightness
31%
HSV value
Perceived
17%
weighted brightness
Luminance
0.0176
WCAG relative
Temperature
Warm
21/100 cool
Color family
Red
Tone
Electric
Best ink
White
15.54:1
Closest name
Maroon
ΔE2000 12.5
Where it sits
Hue352° of 360°
Saturation93%
Lightness16%
Temperature
Warm ← → Cool21% 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#4f030d
RGBrgb(79, 3, 13)
HSLhsl(352, 93%, 16%)
CMYKcmyk(0%, 96%, 84%, 69%)
LABlab(14.2 33.6 16.6)
LCHlch(14.2 37.5 26.3)
OKLCHoklch(0.273 0.106 22.0)
Decimal5178125
Display P3color(display-p3 0.310 0.012 0.051)

Copy-ready code

/* CSS */
color: #4f030d;
background-color: #4f030d;
/* Tailwind (arbitrary) */
class="text-[#4f030d] bg-[#4f030d]"
/* SCSS */
$brand: #4f030d;
/* SwiftUI */
Color(red: 0.310, green: 0.012, blue: 0.051)
/* Android */
Color.parseColor("#4f030d")
/* Flutter */
Color(0xFF4F030D)
/* Python / OpenCV (BGR) */
(13, 3, 79)

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 #4f030d · 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: #4f030d as text scores 15.54:1 on white and 1.35:1 on black.

Accessibility — WCAG contrast

Aa
#4f030d on white: 15.54:1
AA ✓ pass · AA-large · AAA
Aa
#4f030d on black: 1.35:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1D1A0D
deuteranopia · #2F2A0A
tritanopia · #580007

Color scale — 50 to 950

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

#FDF2F3
#FBE4E7
#F9C2CA
#FB93A1
#F95D71
#F72742
#EC0927
#C50720
#9D061A
#710917
#4f030d
Base = 950Lightest = 50 · #FDF2F3Darkest = 950 · #4f030d
:root {
  --brand-50: #FDF2F3;
  --brand-100: #FBE4E7;
  --brand-200: #F9C2CA;
  --brand-300: #FB93A1;
  --brand-400: #F95D71;
  --brand-500: #F72742;
  --brand-600: #EC0927;
  --brand-700: #C50720;
  --brand-800: #9D061A;
  --brand-900: #710917;
  --brand-950: #4f030d;
  --brand: #4f030d;
  --brand-ink: #ffffff;
}

Colors that work with #4f030d

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#EDC0C6
Hairlines and dividers
Muted text#9B4B55
Captions on the surface
Accent#015132
Second voice, not a rival
Dark variant#7B0514
Hover, pressed, headers
Light variant#FEE6EA
Selected rows, tints
Dark surface#241416
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 #4f030d

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#034F45
Analogous left#4F0333
Analogous right#4F1F03
Split-complement 1#034F1F
Split-complement 2#03334F
Triadic 1#0D4F03
Triadic 2#030D4F
Tetradic#334F03

RGB percentages

Red31.0%
Green1.2%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta96.2%
Yellow83.5%
Key (black)69.0%

Color previews

#4f030d text on a black background

contrast 1.35:1

Card sample

#4f030d text on a white background

contrast 15.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4f030d

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.

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

#4f030d, answered

What color is #4f030d?

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

What is the RGB value of #4f030d?

rgb(79, 3, 13) — 79 red, 3 green and 13 blue out of 255, or 31% / 1.2% / 5.1% by channel.

Is #4f030d 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 #4f030d?

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

What is the complementary color of #4f030d?

#034F45 sits directly opposite on the wheel. Softer options are the split-complements #034F1F and #03334F, which give the same contrast with far less vibration.

What colors go well with #4f030d?

For interface work: #FAF4F5 as the surface, #EDC0C6 for borders, #9B4B55 for secondary text, #015132 as an accent and #7B0514 for hover and pressed states. For a palette, the analogous pair #4F0333 and #4F1F03 stays calm, while #034F45 is the loudest partner.

What is #4f030d in CMYK for printing?

cmyk(0%, 96%, 84%, 69%). 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 #4f030d warm or cool?

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

Work with #4f030d in the Color Lab