#40202B color

#40202B rgb(64, 32, 43)
Shades of red

The hex color #40202B is a very dark, desaturated rose.

In the RGB color model it is made of 25.1% red, 12.5% green and 16.9% blue (64, 32, 43).

Its hue angle is 339°, with 33% saturation and 19% lightness. For print, the CMYK equivalent is 0% cyan, 50% magenta, 33% yellow and 75% black.

The closest named color is Castro (#44232F), a difference of 1.1 ΔE, which is barely visible.

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

#40202B color codes

HEX#40202B
RGBrgb(64, 32, 43)
RGB percentrgb(25.1%, 12.5%, 16.9%)
HSLhsl(339, 33%, 19%)
HSV / HSBhsv(339, 50%, 25%)
CMYKcmyk(0%, 50%, 33%, 75%)
CIE LABlab(16.98, 17.04, -0.49)
CIE LCHlch(16.98, 17.04, 358.35)
CIE XYZxyz(3.067, 2.298, 2.567)
Decimal4202539
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #40202B, 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 #40202BRatioAAAAAAA large
Sample text1.46:1FailFailFail
Sample text14.39:1PassPassPass
#40202B as text onRatioAAAAAAA large
Sample text14.39:1PassPassPass
Sample text1.46: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 #40202B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #40202b; }
.text { color: #40202b; }
.border { border: 2px solid #40202b; }
.transparent { background-color: rgb(64 32 43 / 50%); }
.gradient { background: linear-gradient(to right, #40202b, #402520); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #40202B?
#40202B is a very dark, desaturated rose, closest to the named color Castro. It belongs to the red family of colors.
What is the RGB value of #40202B?
The RGB value is 64, 32, 43: 64 red, 32 green and 43 blue on a 0 to 255 scale.
What is the complementary color of #40202B?
The complementary color is #204035, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40202B?
White text. Black text has a contrast ratio of 1.46:1 and white text 14.39:1. WCAG asks for at least 4.5:1 for normal text.