#40262F color

#40262F rgb(64, 38, 47)
Shades of red

The hex color #40262F is a dark, desaturated rose.

In the RGB color model it is made of 25.1% red, 14.9% green and 18.4% blue (64, 38, 47).

Its hue angle is 339°, with 25% saturation and 20% lightness. For print, the CMYK equivalent is 0% cyan, 41% magenta, 27% yellow and 75% black.

The closest named color is Wine Tasting (#492A34), a difference of 2.4 ΔE, a small difference.

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

#40262F color codes

HEX#40262F
RGBrgb(64, 38, 47)
RGB percentrgb(25.1%, 14.9%, 18.4%)
HSLhsl(339, 25%, 20%)
HSV / HSBhsv(339, 41%, 25%)
CMYKcmyk(0%, 41%, 27%, 75%)
CIE LABlab(18.72, 13.79, -0.75)
CIE LCHlch(18.72, 13.82, 356.87)
CIE XYZxyz(3.321, 2.682, 3.031)
Decimal4204079
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #40262F, 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 #40262FRatioAAAAAAA large
Sample text1.54:1FailFailFail
Sample text13.67:1PassPassPass
#40262F as text onRatioAAAAAAA large
Sample text13.67:1PassPassPass
Sample text1.54: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 #40262F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #40262f; }
.text { color: #40262f; }
.border { border: 2px solid #40262f; }
.transparent { background-color: rgb(64 38 47 / 50%); }
.gradient { background: linear-gradient(to right, #40262f, #402a26); }
Background
Text color
Border

Similar colors

Closest common color name: Espresso.

Questions

What color is #40262F?
#40262F is a dark, desaturated rose, closest to the named color Wine Tasting. It belongs to the red family of colors.
What is the RGB value of #40262F?
The RGB value is 64, 38, 47: 64 red, 38 green and 47 blue on a 0 to 255 scale.
What is the complementary color of #40262F?
The complementary color is #264037, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40262F?
White text. Black text has a contrast ratio of 1.54:1 and white text 13.67:1. WCAG asks for at least 4.5:1 for normal text.