#383231 color
The hex color #383231 is a dark gray.
In the RGB color model it is made of 22% red, 19.6% green and 19.2% blue (56, 50, 49).
Its hue angle is 9°, with 7% saturation and 21% lightness. For print, the CMYK equivalent is 0% cyan, 11% magenta, 13% yellow and 78% black.
The closest named color is After Dark (#3C3535), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.58:1).
#383231 color codes
| HEX | #383231 | |
|---|---|---|
| RGB | rgb(56, 50, 49) | |
| RGB percent | rgb(22%, 19.6%, 19.2%) | |
| HSL | hsl(9, 7%, 21%) | |
| HSV / HSB | hsv(9, 12%, 22%) | |
| CMYK | cmyk(0%, 11%, 13%, 78%) | |
| CIE LAB | lab(21.37, 2.46, 1.61) | |
| CIE LCH | lch(21.37, 2.94, 33.16) | |
| CIE XYZ | xyz(3.326, 3.344, 3.375) | |
| Decimal | 3682865 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #383231, 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 #383231 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.67:1 | Fail | Fail | Fail |
| Sample text | 12.58:1 | Pass | Pass | Pass |
| #383231 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.58:1 | Pass | Pass | Pass |
| Sample text | 1.67:1 | Fail | Fail | Fail |
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 #383231 looks to people with the most common types of color vision deficiency.
#333331Protanopia
no red cones#353431Deuteranopia
no green cones#3a3132Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #383231; }
.text { color: #383231; }
.border { border: 2px solid #383231; }
.transparent { background-color: rgb(56 50 49 / 50%); }
.gradient { background: linear-gradient(to right, #383231, #383531); }
Similar colors
#3c3535After Dark#332e2eNight Rider#3a3532Kilimanjaro#322c2bDiesel#332f2cHoly Crow#3f3939Eclipse#333232Dark Charcoal#3d322eSix Feet Under
Closest common color name: Jet Black.
Questions
- What color is #383231?
- #383231 is a dark gray, closest to the named color After Dark. It belongs to the gray family of colors.
- What is the RGB value of #383231?
- The RGB value is 56, 50, 49: 56 red, 50 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #383231?
- The complementary color is #313738, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #383231?
- White text. Black text has a contrast ratio of 1.67:1 and white text 12.58:1. WCAG asks for at least 4.5:1 for normal text.