#38162D color
The hex color #38162D is a very dark, desaturated magenta.
In the RGB color model it is made of 22% red, 8.6% green and 17.6% blue (56, 22, 45).
Its hue angle is 319°, with 44% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 61% magenta, 20% yellow and 78% black.
The closest named color is Nightly Voyager (#391531), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.9:1).
#38162D color codes
| HEX | #38162D | |
|---|---|---|
| RGB | rgb(56, 22, 45) | |
| RGB percent | rgb(22%, 8.6%, 17.6%) | |
| HSL | hsl(319, 44%, 15%) | |
| HSV / HSB | hsv(319, 61%, 22%) | |
| CMYK | cmyk(0%, 61%, 20%, 78%) | |
| CIE LAB | lab(13.26, 20.41, -7.63) | |
| CIE LCH | lch(13.26, 21.79, 339.5) | |
| CIE XYZ | xyz(2.391, 1.604, 2.666) | |
| Decimal | 3675693 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #38162D, 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 #38162D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.9:1 | Pass | Pass | Pass |
| #38162D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.9:1 | Pass | Pass | Pass |
| Sample text | 1.32: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 #38162D looks to people with the most common types of color vision deficiency.
#181f2eProtanopia
no red cones#21242cDeuteranopia
no green cones#3b161fTritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #38162d; }
.text { color: #38162d; }
.border { border: 2px solid #38162d; }
.transparent { background-color: rgb(56 22 45 / 50%); }
.gradient { background: linear-gradient(to right, #38162d, #38161c); }
Similar colors
#391531Nightly Voyager#43182fBlackberry#301934Dark Purple#2b0f2eDark Prom Queen#3e1825Black-Hearted#3c1421Chocolate Kiss#330022Vienna Roast#44232fCastro
Questions
- What color is #38162D?
- #38162D is a very dark, desaturated magenta, closest to the named color Nightly Voyager. It belongs to the purple family of colors.
- What is the RGB value of #38162D?
- The RGB value is 56, 22, 45: 56 red, 22 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #38162D?
- The complementary color is #163821, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #38162D?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.9:1. WCAG asks for at least 4.5:1 for normal text.