Skip to content

#6a0e21

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

RGB
106, 14, 33
HSL
348°, 77%, 24%
CMYK
0, 87, 69, 58
Luminance
0.0349

At a glance

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

Hex
#6a0e21
Hue
348°
red
Saturation
77%
electric
Lightness
24%
deep
Brightness
42%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0349
WCAG relative
Temperature
Warm
24/100 cool
Color family
Red
Tone
Electric
Best ink
White
12.37:1
Closest name
Maroon
ΔE2000 11.7
Where it sits
Hue348° of 360°
Saturation77%
Lightness24%
Temperature
Warm ← → Cool24% 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#6a0e21
RGBrgb(106, 14, 33)
HSLhsl(348, 77%, 24%)
CMYKcmyk(0%, 87%, 69%, 58%)
LABlab(21.9 39.8 14.6)
LCHlch(21.9 42.4 20.2)
OKLCHoklch(0.342 0.124 16.4)
Decimal6950433
Display P3color(display-p3 0.416 0.055 0.129)

Copy-ready code

/* CSS */
color: #6a0e21;
background-color: #6a0e21;
/* Tailwind (arbitrary) */
class="text-[#6a0e21] bg-[#6a0e21]"
/* SCSS */
$brand: #6a0e21;
/* SwiftUI */
Color(red: 0.416, green: 0.055, blue: 0.129)
/* Android */
Color.parseColor("#6a0e21")
/* Flutter */
Color(0xFF6A0E21)
/* Python / OpenCV (BGR) */
(33, 14, 106)

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

Accessibility — WCAG contrast

Aa
#6a0e21 on white: 12.37:1
AA ✓ pass · AA-large · AAA
Aa
#6a0e21 on black: 1.70:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2A2821
deuteranopia · #413B1E
tritanopia · #750017

Color scale — 50 to 950

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

#FCF3F5
#F9E7EA
#F4C7D1
#F29CAE
#EB6A85
#E5395C
#D81D43
#B41838
#90132D
#6a0e21
#410B16
Base = 900Lightest = 50 · #FCF3F5Darkest = 950 · #410B16
:root {
  --brand-50: #FCF3F5;
  --brand-100: #F9E7EA;
  --brand-200: #F4C7D1;
  --brand-300: #F29CAE;
  --brand-400: #EB6A85;
  --brand-500: #E5395C;
  --brand-600: #D81D43;
  --brand-700: #B41838;
  --brand-800: #90132D;
  --brand-900: #6a0e21;
  --brand-950: #410B16;
  --brand: #6a0e21;
  --brand-ink: #ffffff;
}

Colors that work with #6a0e21

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#0C6C40
Second voice, not a rival
Dark variant#710F23
Hover, pressed, headers
Light variant#FCE8ED
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 #6a0e21

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#0E6A57
Analogous left#6A0E4F
Analogous right#6A290E
Split-complement 1#0E6A29
Split-complement 2#0E4F6A
Triadic 1#216A0E
Triadic 2#0E216A
Tetradic#4F6A0E

RGB percentages

Red41.6%
Green5.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta86.8%
Yellow68.9%
Key (black)58.4%

Color previews

#6a0e21 text on a black background

contrast 1.70:1

Card sample

#6a0e21 text on a white background

contrast 12.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6a0e21;
Background color
Panel with #6a0e21 background
background-color: #6a0e21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6a0e21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(106, 14, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(106, 14, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6a0e21;
background: linear-gradient(135deg, #6a0e21, #6A380E);

Monochromatic scale

Palettes built from #6a0e21

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.

#6a0e21 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.

#6a0e21, answered

What color is #6a0e21?

#6a0e21 is a deep electric red, closest to Maroon (ΔE2000 11.7). It sits at 348° on the hue wheel with 77% saturation and 24% lightness, which reads as warm.

What is the RGB value of #6a0e21?

rgb(106, 14, 33) — 106 red, 14 green and 33 blue out of 255, or 41.6% / 5.5% / 12.9% by channel.

Is #6a0e21 a light or a dark color?

It is a dark color. Relative luminance is 0.0349 and perceived brightness is 24%, so white text on it reaches 12.37:1.

Should I use black or white text on #6a0e21?

White. It scores 12.37:1 against #6a0e21, versus 1.70:1 for black — AAA at any size.

What is the complementary color of #6a0e21?

#0E6A57 sits directly opposite on the wheel. Softer options are the split-complements #0E6A29 and #0E4F6A, which give the same contrast with far less vibration.

What colors go well with #6a0e21?

For interface work: #FAF4F6 as the surface, #EDC0C9 for borders, #9B4B5B for secondary text, #0C6C40 as an accent and #710F23 for hover and pressed states. For a palette, the analogous pair #6A0E4F and #6A290E stays calm, while #0E6A57 is the loudest partner.

What is #6a0e21 in CMYK for printing?

cmyk(0%, 87%, 69%, 58%). 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 #6a0e21 warm or cool?

Warm — it scores 24 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6A1D0E; nudged cooler, #6B0D43.

Work with #6a0e21 in the Color Lab