#7a0c01
a deep, electric red · warm · closest name: Maroon
At a glance
Every number on this page in one read: what #7a0c01 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #7a0c01 |
| RGB | rgb(122, 12, 1) |
| HSL | hsl(6, 98%, 24%) |
| CMYK | cmyk(0%, 90%, 99%, 52%) |
| LAB | lab(25.0 44.0 36.6) |
| LCH | lch(25.0 57.3 39.7) |
| OKLCH | oklch(0.370 0.143 30.9) |
| Decimal | 7998465 |
| Display P3 | color(display-p3 0.478 0.047 0.004) |
Copy-ready code
/* CSS */
color: #7a0c01;
background-color: #7a0c01;
/* Tailwind (arbitrary) */
class="text-[#7a0c01] bg-[#7a0c01]"
/* SCSS */
$brand: #7a0c01;
/* SwiftUI */
Color(red: 0.478, green: 0.047, blue: 0.004)
/* Android */
Color.parseColor("#7a0c01")
/* Flutter */
Color(0xFF7A0C01)
/* Python / OpenCV (BGR) */
(1, 12, 122)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #7a0c01 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.
:root {
--brand-50: #FEF2F1;
--brand-100: #FCE6E3;
--brand-200: #FBC6C1;
--brand-300: #FE9A90;
--brand-400: #FE6758;
--brand-500: #FD3520;
--brand-600: #F31802;
--brand-700: #CA1402;
--brand-800: #A21001;
--brand-900: #7a0c01;
--brand-950: #490A04;
--brand: #7a0c01;
--brand-ink: #ffffff;
}Colors that work with #7a0c01
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #7a0c01
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | #016F7A | Directly opposite — maximum tension | |
| Analogous left | #7A0132 | Neighbour, quieter | |
| Analogous right | #7A4901 | Neighbour, quieter | |
| Split-complement 1 | #017A49 | Contrast without the clash | |
| Split-complement 2 | #01327A | Contrast without the clash | |
| Triadic 1 | #017A0C | Even thirds — balanced and loud | |
| Triadic 2 | #0C017A | Even thirds — balanced and loud | |
| Tetradic | #327A01 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#7a0c01 text on a black background
contrast 1.88:1
#7a0c01 text on a white background
contrast 11.17:1
CSS3 live lab
The quick brown fox
color: #7a0c01;
background-color: #7a0c01;
Glowing headline
text-shadow: 2px 2px 8px #7a0c01;
Soft neon halo
text-shadow: 0 0 14px rgba(122, 12, 1, 0.45);
box-shadow: 0 12px 32px -8px rgba(122, 12, 1, 0.45);
border: 3px solid #7a0c01; background: linear-gradient(135deg, #7a0c01, #7A5D01);
Monochromatic scale
Palettes built from #7a0c01
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.
Closest color with a full write-up: Maroon (#800000) — ΔE2000 1.5 away, with its history, psychology and brand usage.
#7a0c01 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#7a0c01, answered
What color is #7a0c01?
#7a0c01 is a deep electric red, closest to Maroon (ΔE2000 1.5). It sits at 6° on the hue wheel with 98% saturation and 24% lightness, which reads as warm.
What is the RGB value of #7a0c01?
rgb(122, 12, 1) — 122 red, 12 green and 1 blue out of 255, or 47.8% / 4.7% / 0.4% by channel.
Is #7a0c01 a light or a dark color?
It is a dark color. Relative luminance is 0.0440 and perceived brightness is 26%, so white text on it reaches 11.17:1.
Should I use black or white text on #7a0c01?
White. It scores 11.17:1 against #7a0c01, versus 1.88:1 for black — AAA at any size.
What is the complementary color of #7a0c01?
#016F7A sits directly opposite on the wheel. Softer options are the split-complements #017A49 and #01327A, which give the same contrast with far less vibration.
What colors go well with #7a0c01?
For interface work: #FAF5F4 as the surface, #EDC4C0 for borders, #9B524B for secondary text, #007B67 as an accent and #7E0D01 for hover and pressed states. For a palette, the analogous pair #7A0132 and #7A4901 stays calm, while #016F7A is the loudest partner.
What is #7a0c01 in CMYK for printing?
cmyk(0%, 90%, 99%, 52%). 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 #7a0c01 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 #7A2601; nudged cooler, #7B0022.