#40080F color

#40080F rgb(64, 8, 15)
Shades of black

The hex color #40080F is a very dark, moderate red.

In the RGB color model it is made of 25.1% red, 3.1% green and 5.9% blue (64, 8, 15).

Its hue angle is 353°, with 78% saturation and 14% lightness. For print, the CMYK equivalent is 0% cyan, 88% magenta, 77% yellow and 75% black.

The closest named color is English Breakfast (#441111), a difference of 2.8 ΔE, a small difference.

White text is the more readable choice on this background (contrast 16.67:1).

#40080F color codes

HEX#40080F
RGBrgb(64, 8, 15)
RGB percentrgb(25.1%, 3.1%, 5.9%)
HSLhsl(353, 78%, 14%)
HSV / HSBhsv(353, 88%, 25%)
CMYKcmyk(0%, 88%, 77%, 75%)
CIE LABlab(11.26, 26.84, 11.1)
CIE LCHlch(11.26, 29.04, 22.46)
CIE XYZxyz(2.288, 1.298, 0.582)
Decimal4196367
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #40080F, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #40080FRatioAAAAAAA large
Sample text1.26:1FailFailFail
Sample text16.67:1PassPassPass
#40080F as text onRatioAAAAAAA large
Sample text16.67:1PassPassPass
Sample text1.26:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #40080F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #40080f; }
.text { color: #40080f; }
.border { border: 2px solid #40080f; }
.transparent { background-color: rgb(64 8 15 / 50%); }
.gradient { background: linear-gradient(to right, #40080f, #401d08); }
Background
Text color
Border

Similar colors

Questions

What color is #40080F?
#40080F is a very dark, moderate red, closest to the named color English Breakfast. It belongs to the black family of colors.
What is the RGB value of #40080F?
The RGB value is 64, 8, 15: 64 red, 8 green and 15 blue on a 0 to 255 scale.
What is the complementary color of #40080F?
The complementary color is #084039, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40080F?
White text. Black text has a contrast ratio of 1.26:1 and white text 16.67:1. WCAG asks for at least 4.5:1 for normal text.