Skip to content

#35040c

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

RGB
53, 4, 12
HSL
350°, 86%, 11%
CMYK
0, 93, 77, 79
Luminance
0.0087

At a glance

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

Hex
#35040c
Hue
350°
red
Saturation
86%
electric
Lightness
11%
deep
Brightness
21%
HSV value
Perceived
12%
weighted brightness
Luminance
0.0087
WCAG relative
Temperature
Warm
22/100 cool
Color family
Red
Tone
Electric
Best ink
White
17.89:1
Closest name
Maroon
ΔE2000 19.4
Where it sits
Hue350° of 360°
Saturation86%
Lightness11%
Temperature
Warm ← → Cool22% 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#35040c
RGBrgb(53, 4, 12)
HSLhsl(350, 86%, 11%)
CMYKcmyk(0%, 93%, 77%, 79%)
LABlab(7.9 24.7 7.4)
LCHlch(7.9 25.8 16.6)
OKLCHoklch(0.215 0.077 17.0)
Decimal3474444
Display P3color(display-p3 0.208 0.016 0.047)

Copy-ready code

/* CSS */
color: #35040c;
background-color: #35040c;
/* Tailwind (arbitrary) */
class="text-[#35040c] bg-[#35040c]"
/* SCSS */
$brand: #35040c;
/* SwiftUI */
Color(red: 0.208, green: 0.016, blue: 0.047)
/* Android */
Color.parseColor("#35040c")
/* Flutter */
Color(0xFF35040C)
/* Python / OpenCV (BGR) */
(12, 4, 53)

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

Accessibility — WCAG contrast

Aa
#35040c on white: 17.89:1
AA ✓ pass · AA-large · AAA
Aa
#35040c on black: 1.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #12110C
deuteranopia · #1E1B0B
tritanopia · #3B0007

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #35040c 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
#FAE5E9
#F7C5CD
#F797A6
#F3627A
#EF2E4E
#E41134
#BE0E2B
#980B22
#6E0D1D
#35040c
Base = 950Lightest = 50 · #FDF2F4Darkest = 950 · #35040c
:root {
  --brand-50: #FDF2F4;
  --brand-100: #FAE5E9;
  --brand-200: #F7C5CD;
  --brand-300: #F797A6;
  --brand-400: #F3627A;
  --brand-500: #EF2E4E;
  --brand-600: #E41134;
  --brand-700: #BE0E2B;
  --brand-800: #980B22;
  --brand-900: #6E0D1D;
  --brand-950: #35040c;
  --brand: #35040c;
  --brand-ink: #ffffff;
}

Colors that work with #35040c

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#EDC0C7
Hairlines and dividers
Muted text#9B4B58
Captions on the surface
Accent#033621
Second voice, not a rival
Dark variant#77091B
Hover, pressed, headers
Light variant#FDE7EB
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 #35040c

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#04352D
Analogous left#350425
Analogous right#351504
Split-complement 1#043515
Split-complement 2#042535
Triadic 1#0C3504
Triadic 2#040C35
Tetradic#253504

RGB percentages

Red20.8%
Green1.6%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta92.5%
Yellow77.4%
Key (black)79.2%

Color previews

#35040c text on a black background

contrast 1.17:1

Card sample

#35040c text on a white background

contrast 17.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #35040c;
Background color
Panel with #35040c background
background-color: #35040c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #35040c;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #35040c

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.

#35040c 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.

#35040c, answered

What color is #35040c?

#35040c is a deep electric red, closest to Maroon (ΔE2000 19.4). It sits at 350° on the hue wheel with 86% saturation and 11% lightness, which reads as warm.

What is the RGB value of #35040c?

rgb(53, 4, 12) — 53 red, 4 green and 12 blue out of 255, or 20.8% / 1.6% / 4.7% by channel.

Is #35040c a light or a dark color?

It is a dark color. Relative luminance is 0.0087 and perceived brightness is 12%, so white text on it reaches 17.89:1.

Should I use black or white text on #35040c?

White. It scores 17.89:1 against #35040c, versus 1.17:1 for black — AAA at any size.

What is the complementary color of #35040c?

#04352D sits directly opposite on the wheel. Softer options are the split-complements #043515 and #042535, which give the same contrast with far less vibration.

What colors go well with #35040c?

For interface work: #FAF4F5 as the surface, #EDC0C7 for borders, #9B4B58 for secondary text, #033621 as an accent and #77091B for hover and pressed states. For a palette, the analogous pair #350425 and #351504 stays calm, while #04352D is the loudest partner.

What is #35040c in CMYK for printing?

cmyk(0%, 93%, 77%, 79%). 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 #35040c warm or cool?

Warm — it scores 22 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #350E04; nudged cooler, #36031E.

Work with #35040c in the Color Lab