#402023 color

#402023 rgb(64, 32, 35)
Shades of red

The hex color #402023 is a very dark, desaturated red.

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

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

The closest named color is Bruised Plum (#3B1921), a difference of 2.9 ΔE, a small difference.

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

#402023 color codes

HEX#402023
RGBrgb(64, 32, 35)
RGB percentrgb(25.1%, 12.5%, 13.7%)
HSLhsl(354, 33%, 19%)
HSV / HSBhsv(354, 50%, 25%)
CMYKcmyk(0%, 50%, 45%, 75%)
CIE LABlab(16.72, 15.81, 4.83)
CIE LCHlch(16.72, 16.53, 16.99)
CIE XYZxyz(2.934, 2.245, 1.868)
Decimal4202531
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #402023; }
.text { color: #402023; }
.border { border: 2px solid #402023; }
.transparent { background-color: rgb(64 32 35 / 50%); }
.gradient { background: linear-gradient(to right, #402023, #402d20); }
Background
Text color
Border

Similar colors

Closest common color name: Espresso.

Questions

What color is #402023?
#402023 is a very dark, desaturated red, closest to the named color Bruised Plum. It belongs to the red family of colors.
What is the RGB value of #402023?
The RGB value is 64, 32, 35: 64 red, 32 green and 35 blue on a 0 to 255 scale.
What is the complementary color of #402023?
The complementary color is #20403D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #402023?
White text. Black text has a contrast ratio of 1.45:1 and white text 14.49:1. WCAG asks for at least 4.5:1 for normal text.