Skip to content

#640f08

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

RGB
100, 15, 8
HSL
5°, 85%, 21%
CMYK
0, 85, 92, 61
Luminance
0.0307

At a glance

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

Hex
#640f08
Hue
red
Saturation
85%
electric
Lightness
21%
deep
Brightness
39%
HSV value
Perceived
22%
weighted brightness
Luminance
0.0307
WCAG relative
Temperature
Warm
14/100 cool
Color family
Red
Tone
Electric
Best ink
White
13.01:1
Closest name
Maroon
ΔE2000 6
Where it sits
Hue5° of 360°
Saturation85%
Lightness21%
Temperature
Warm ← → Cool14% 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#640f08
RGBrgb(100, 15, 8)
HSLhsl(5, 85%, 21%)
CMYKcmyk(0%, 85%, 92%, 61%)
LABlab(20.3 36.5 27.4)
LCHlch(20.3 45.6 36.9)
OKLCHoklch(0.327 0.119 29.7)
Decimal6557448
Display P3color(display-p3 0.392 0.059 0.031)

Copy-ready code

/* CSS */
color: #640f08;
background-color: #640f08;
/* Tailwind (arbitrary) */
class="text-[#640f08] bg-[#640f08]"
/* SCSS */
$brand: #640f08;
/* SwiftUI */
Color(red: 0.392, green: 0.059, blue: 0.031)
/* Android */
Color.parseColor("#640f08")
/* Flutter */
Color(0xFF640F08)
/* Python / OpenCV (BGR) */
(8, 15, 100)

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

Accessibility — WCAG contrast

Aa
#640f08 on white: 13.01:1
AA ✓ pass · AA-large · AAA
Aa
#640f08 on black: 1.61:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2B2506
deuteranopia · #3F3803
tritanopia · #6F000F

Color scale — 50 to 950

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

#FCF3F2
#FAE7E5
#F7C9C5
#F79E97
#F36E63
#EE3E2F
#E32212
#BD1C0F
#97170C
#640f08
#440D08
Base = 900Lightest = 50 · #FCF3F2Darkest = 950 · #440D08
:root {
  --brand-50: #FCF3F2;
  --brand-100: #FAE7E5;
  --brand-200: #F7C9C5;
  --brand-300: #F79E97;
  --brand-400: #F36E63;
  --brand-500: #EE3E2F;
  --brand-600: #E32212;
  --brand-700: #BD1C0F;
  --brand-800: #97170C;
  --brand-900: #640f08;
  --brand-950: #440D08;
  --brand: #640f08;
  --brand-ink: #ffffff;
}

Colors that work with #640f08

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#FAF5F4
Tinted page background
Border#EDC3C0
Hairlines and dividers
Muted text#9B514B
Captions on the surface
Accent#066656
Second voice, not a rival
Dark variant#761209
Hover, pressed, headers
Light variant#FDE9E7
Selected rows, tints
Dark surface#241514
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 #640f08

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#085D64
Analogous left#64082F
Analogous right#643D08
Split-complement 1#08643D
Split-complement 2#082F64
Triadic 1#08640F
Triadic 2#0F0864
Tetradic#2F6408

RGB percentages

Red39.2%
Green5.9%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta85.0%
Yellow92.0%
Key (black)60.8%

Color previews

#640f08 text on a black background

contrast 1.61:1

Card sample

#640f08 text on a white background

contrast 13.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(100, 15, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(100, 15, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #640f08;
background: linear-gradient(135deg, #640f08, #644C08);

Monochromatic scale

Palettes built from #640f08

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.

#640f08 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.

#640f08, answered

What color is #640f08?

#640f08 is a deep electric red, closest to Maroon (ΔE2000 6). It sits at 5° on the hue wheel with 85% saturation and 21% lightness, which reads as warm.

What is the RGB value of #640f08?

rgb(100, 15, 8) — 100 red, 15 green and 8 blue out of 255, or 39.2% / 5.9% / 3.1% by channel.

Is #640f08 a light or a dark color?

It is a dark color. Relative luminance is 0.0307 and perceived brightness is 22%, so white text on it reaches 13.01:1.

Should I use black or white text on #640f08?

White. It scores 13.01:1 against #640f08, versus 1.61:1 for black — AAA at any size.

What is the complementary color of #640f08?

#085D64 sits directly opposite on the wheel. Softer options are the split-complements #08643D and #082F64, which give the same contrast with far less vibration.

What colors go well with #640f08?

For interface work: #FAF5F4 as the surface, #EDC3C0 for borders, #9B514B for secondary text, #066656 as an accent and #761209 for hover and pressed states. For a palette, the analogous pair #64082F and #643D08 stays calm, while #085D64 is the loudest partner.

What is #640f08 in CMYK for printing?

cmyk(0%, 85%, 92%, 61%). 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 #640f08 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 #642608; nudged cooler, #650722.

Work with #640f08 in the Color Lab