Skip to content

#c01a17

a dark, electric red · warm · closest name: Firebrick

RGB
192, 26, 23
HSL
1°, 79%, 42%
CMYK
0, 87, 88, 25
Luminance
0.1201

At a glance

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

Hex
#c01a17
Hue
red
Saturation
79%
electric
Lightness
42%
dark
Brightness
75%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1201
WCAG relative
Temperature
Warm
16/100 cool
Color family
Red
Tone
Electric
Best ink
White
6.17:1
Closest name
Firebrick
ΔE2000 3.6
Where it sits
Hue1° of 360°
Saturation79%
Lightness42%
Temperature
Warm ← → Cool16% 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#c01a17
RGBrgb(192, 26, 23)
HSLhsl(1, 79%, 42%)
CMYKcmyk(0%, 87%, 88%, 25%)
LABlab(41.2 61.5 46.3)
LCHlch(41.2 77.0 37.0)
OKLCHoklch(0.517 0.198 28.4)
Decimal12589591
Display P3color(display-p3 0.753 0.102 0.090)

Copy-ready code

/* CSS */
color: #c01a17;
background-color: #c01a17;
/* Tailwind (arbitrary) */
class="text-[#c01a17] bg-[#c01a17]"
/* SCSS */
$brand: #c01a17;
/* SwiftUI */
Color(red: 0.753, green: 0.102, blue: 0.090)
/* Android */
Color.parseColor("#c01a17")
/* Flutter */
Color(0xFFC01A17)
/* Python / OpenCV (BGR) */
(23, 26, 192)

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 #c01a17 · 6.17:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.17:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.40:1
AA fail · AA large pass · AAA fail
Reading the other direction: #c01a17 as text scores 6.17:1 on white and 3.40:1 on black.

Accessibility — WCAG contrast

Aa
#c01a17 on white: 6.17:1
AA ✓ pass · AA-large · AAA
Aa
#c01a17 on black: 3.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #544A13
deuteranopia · #7C6E08
tritanopia · #D4001D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c01a17 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF3F3
#F9E7E6
#F5C8C7
#F39C9B
#ED6B69
#E73A37
#DB1E1A
#c01a17
#921411
#691311
#420C0B
Base = 700Lightest = 50 · #FCF3F3Darkest = 950 · #420C0B
:root {
  --brand-50: #FCF3F3;
  --brand-100: #F9E7E6;
  --brand-200: #F5C8C7;
  --brand-300: #F39C9B;
  --brand-400: #ED6B69;
  --brand-500: #E73A37;
  --brand-600: #DB1E1A;
  --brand-700: #c01a17;
  --brand-800: #921411;
  --brand-900: #691311;
  --brand-950: #420C0B;
  --brand: #c01a17;
  --brand-ink: #ffffff;
}

Colors that work with #c01a17

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#FAF4F4
Tinted page background
Border#EDC1C0
Hairlines and dividers
Muted text#9B4C4B
Captions on the surface
Accent#12BA93
Second voice, not a rival
Dark variant#720F0E
Hover, pressed, headers
Light variant#FCE9E8
Selected rows, tints
Dark surface#241414
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 #c01a17

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
  • 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#17BDC0
Analogous left#C01769
Analogous right#C06F17
Split-complement 1#17C06F
Split-complement 2#1769C0
Triadic 1#17C01A
Triadic 2#1A17C0
Tetradic#69C017

RGB percentages

Red75.3%
Green10.2%
Blue9.0%

CMYK percentages

Cyan0.0%
Magenta86.5%
Yellow88.0%
Key (black)24.7%

Color previews

#c01a17 text on a black background

contrast 3.40:1

Card sample

#c01a17 text on a white background

contrast 6.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 26, 23, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 26, 23, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c01a17;
background: linear-gradient(135deg, #c01a17, #C08B17);

Monochromatic scale

Palettes built from #c01a17

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.

#c01a17 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.

#c01a17, answered

What color is #c01a17?

#c01a17 is a dark electric red, closest to Firebrick (ΔE2000 3.6). It sits at 1° on the hue wheel with 79% saturation and 42% lightness, which reads as warm.

What is the RGB value of #c01a17?

rgb(192, 26, 23) — 192 red, 26 green and 23 blue out of 255, or 75.3% / 10.2% / 9% by channel.

Is #c01a17 a light or a dark color?

It is a dark color. Relative luminance is 0.1201 and perceived brightness is 42%, so white text on it reaches 6.17:1.

Should I use black or white text on #c01a17?

White. It scores 6.17:1 against #c01a17, versus 3.40:1 for black — AA at any size.

What is the complementary color of #c01a17?

#17BDC0 sits directly opposite on the wheel. Softer options are the split-complements #17C06F and #1769C0, which give the same contrast with far less vibration.

What colors go well with #c01a17?

For interface work: #FAF4F4 as the surface, #EDC1C0 for borders, #9B4C4B for secondary text, #12BA93 as an accent and #720F0E for hover and pressed states. For a palette, the analogous pair #C01769 and #C06F17 stays calm, while #17BDC0 is the loudest partner.

What is #c01a17 in CMYK for printing?

cmyk(0%, 87%, 88%, 25%). 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 #c01a17 warm or cool?

Warm — it scores 16 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C04217; nudged cooler, #C21551.

Work with #c01a17 in the Color Lab