#38121f Color Information

#38121f Color Information
Details | Shades, Tints, and Tones | Variations | Color Coordinates | Color Schemes | HTML+CSS Examples | Coding & Programming | Color Blindness | Accessibility | Related Colors

The hexadecimal value (hex value) of this color is #38121f. In RGB, it consists of 22.0% Red, 7.1% Green, and 12.2% Blue. Likewise, in the CMYK color space, it consists of 0% Cyan, 67.9% Magenta, 44.6% Yellow, and 78% Black. On the color wheel, its Hue is found at 339.5°, with saturation of 51.4% and lightness of 14.5%. The decimal value for #38121f is 3674655, and its nearest "web safe" color is #330033. In the RGB color space, the strongest component for #38121f is red. In the CMYK color space, its strongest component is black. And in the RYB color space, its strongest component is red.
  • HexHex code for this color#38121f Copy
  • NameThe common name of this color(Unnamed) Copy
  • RGBRed, Green, Blue composition for this color56, 18, 31 Copy
  • RGB PercentPercent Red, Green, Blue composition for this color22.0%, 7.1%, 12.2% Copy
  • CMYCyan, Magenta, Yellow composition for this color0.780, 0.929, 0.878 Copy
  • CMYKCyan, Magenta, Yellow, Black composition for this color0, 0.679, 0.446, 0.78 Copy
  • HSLHue, Saturation, Lightness combination for this color339.5°, 51.4%, 14.5% Copy
  • HSV (or HSB)Hue, Saturation, Brightness combination for this color339.5°, 67.9%, 22.0% Copy
  • XYZCIE 1931 color space XYZ coordinates for this color2.095, 1.372, 1.451 Copy
  • RYBRed, Yellow, Blue composition for this color56, 18, 31 Copy
  • DecimalDecimal representation of this color's hex code3674655 Copy
  • CIE-LABCIELAB color space coordinates for this color11.772, 20.472, 0.468 Copy
  • CIE-LCHCIE-LCH color space coordinates for this color (chroma, hue, etc.)11.772, 20.478, 1.310 Copy
  • CIE-LUVCIE-LUV color space coordinates for this color11.772, 17.155, -1.750 Copy
  • Hunter LabHunter-Lab color space coordinates for this color11.715, 11.415, 0.857 Copy
  • xyYCIE xyY color space coordinates for this color0.426, 0.279, 1.372 Copy
  • AndroidValue of this color in Android development4281864735 / 0xff38121f Copy
  • Web SafeHex code of the nearest "web safe" version of this color#330033 Copy
Last Updated: November 21, 2024

Shades of #38121f

Shades are created by adding black to or removing lightness from a particular color. For #38121f, its pure hue is 339.5° on the color wheel and its saturation is 51.4%, and its lightness is 14.5%. As the amount of black is added to this hue and we reduce its lightness, the result is increasingly darker shades tints. The palette given below provides 9 different shades of #38121f, which — excluding black and our original color — range from #070204 to #31101b.

Tints of #38121f

Tints are created by adding white or lightness to a particular color. For #38121f, its pure hue is 339.5° on the color wheel and its saturation is 51.4%, and its lightness is 14.5%. As the amount of white (lightness) is added to this hue, the result is increasingly lighter tints. The following palette gives 9 different tints of #38121f, which — excluding white and our original color — range from #51303b to #e6e1e3.

Tones of #38121f

Tones are the result of adding gray to a pure hue. In the case of #38121f, its pure hue is 339.5° on the color wheel and its saturation is 51.4%, so we increase this saturation to create more colorful tones, and decrease the saturation to create grayer tones. The palette shown below gives 9 different tones of #38121f, which range from #252525 (the grayest / 0% saturation) to #4a0019 (the most colorful / 100% saturation).

Variations of #38121f

There are several ways to create color variations and premutations of #38121f! For #38121f, there are 6 variations of the color that can be created by swapping its Red, Green, and Blue color positions, of which 5 are different from our original color. Among these six variations, there are 6 unique colors including our original color, #38121f. Click on these colors to learn more about them, too!

Color Coordinates of #38121f

This color, #38121f, consists of 22.0% Red, 7.1% Green, and 12.2% Blue, resulting in color coordinates Red = 56, Green = 18, Blue = 31. Likewise, the CMYK color space composition for #38121f is 0% Cyan, 67.9% Magenta, 44.6% Yellow, and 78% Black. These values are shown in the following charts and tables.

R22.0%
C0.0%
G7.1%
M67.9%
B12.2%
Y44.6%
K78.0%
Color Base R (Red) G (Green) B (Blue)
Decimal 56 18 31
Octal 70 22 37
Hexa #38 #12 #1f
Binary 00111000 00010010 00011111
Color Base C (Cyan) M (Magenta) Y (Yellow) Y (Black)
Decimal 0 67 44 78
Octal 0 103 54 116
Hexa #00 #43 #2c #4e
Binary 00000000 01000011 00101100 01001110

Analogous Colors of #38121f

Analogous colors are located 30 degrees away from a color's hue on the color wheel. For #38121f — which has hue 339.5° — its analogous colors are located at 9.5° and 339.5° on the color wheel, with the same saturation and lightness as #38121f.

Triadic Colors of #38121f

Triadic colors are located 120 degrees away from a color's hue on the color wheel, which means the original color and its triadic colors are equidistant from one another on the color wheel and form a triangle. For #38121f — which has hue 339.5° — its triadic colors are located at 99.5° and 339.5° on the color wheel, with the same saturation and lightness as #38121f.

Complementary Color of #38121f

A complementary color is located opposite a color on the color wheel (180 degrees away). For #38121f — which has hue 339.5° — its complementary color is located at 159.5° on the color wheel, with the same saturation and lightness as #38121f.

Split Complementary Colors of #38121f

Split complementary colors are the analogs of a color's complement, which places them 210 degrees away on the color wheel from an original color. For #38121f — which has hue 339.5° — its split complementary colors its split complementary colors are located at 129.5° and 339.5° on the color wheel, with the same saturation and lightness as #38121f.

Tetradic Colors of #38121f

Tetradic colors are two sets of complementary colors on either side of a color wheel from each other, forming a rectangle on the color wheel. For #38121f — which has hue 339.5° — its tetradic colors are located at 249.5°, 339.5°, 69.5°, and 159.5° on the color wheel, with the same saturation and lightness as #38121f.

Monochromatic Colors of #38121f

Monochromatic colors are colors that share a common hue but that have different saturations and lightness. For #38121f, we show 9 different monochromatic colors of it, ranging from #180e11 — (which has very low saturation and very low lightness) — to #620e2a (which has a very high saturation and very high lightness).

HTML+CSS Examples & Previews of #38121f

We want to make getting started with #38121f on your website fast and easy! Below are 8 examples of how to integrate #38121f into a website using HTML+CSS. These examples include showing how #38121f can be used to color text, backgrounds, shadows, and borders, as well as how it can be used as a solid fill or gradient fill for rectangles. These examples principally make use of <span> and <div> tags, although the CSS shown in particular can be repurposed to make use of #38121f with other HTML elements.

#38121f Foreground / Text Color

The color of this text is #38121f.
<span style="color: #38121f;">The color of this text is #38121f.</span>

#38121f Background Color

The background color for this text is #38121f.
<div style="background-color: #38121f; color:#ffffff; width:100%; height:100%; display: flex; justify-content: center; align-items: center;">The background color for this text is #38121f.</div>

#38121f Text Shadow Color

This color for the shadow of this text is #38121f.
<span style="text-shadow: 3px 3px 3px #38121f;">This color for the shadow of this text is #38121f.</span>

#38121f Border Color

This is a div with border color #38121f.
<div style="border: #38121f 4px solid;width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a div with border color #38121f.</div>

#38121f Color Rectangle on a White Background

This is a rectangle of color #38121f on a white background.
<div style="background-color: #ffffff; padding: 60px; width:100%; height: 100%;"><div style="background-color: #38121f; color:#ffffff; width:100%; height:100%; padding: 10px; display: flex; justify-content: center; align-items: center;">This is a rectangle of color #38121f on a white background.</div></div>

#38121f Color Rectangle on a Black Background

This is a rectangle of color #38121f on a black background.
<div style="background-color: #000000; padding: 60px; width:100%; height: 100%;"><div style="background-color: #38121f; color:#ffffff; width:100%; height:100%; padding: 10px; display: flex; justify-content: center; align-items: center;">This is a rectangle of color #38121f on a black background.</div></div>

Gradient from #38121f to White

This is a gradient from #38121f to white.
<div style="background: -webkit-linear-gradient(left,#38121f,white); /* Firefox */ background: linear-gradient(to right,#38121f,white); /* Safari */ background: -o-linear-gradient(left,#38121f,white); /* Opera */ background: -moz-linear-gradient(left,#38121f,white); width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a gradient from #38121f to white.</div>

Gradient from #38121f to Black

This is a gradient from #38121f to black.
<div style="background: -webkit-linear-gradient(left,#38121f,black); /* Firefox */ background: linear-gradient(to right,#38121f,black); /* Safari */ background: -o-linear-gradient(left,#38121f,black); /* Opera */ background: -moz-linear-gradient(left,#38121f,black); color: #ffffff; width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a gradient from #38121f to black.</div>

Coding & Programming with #38121f

In addition to using #38121f on the web, we know you might want to use it in your mobile and desktop apps, too. Whatever your needs, the table below shows how to access #38121f in the language and environment of your choice. These code snippets are principally the hexadecimal representation of #38121f, or the RGB color coordinates for the same (Red = 56, Green = 18, Blue = 31). If you need details about the color coordinates of #38121f in other color spaces, refer to these details as provided toward the top of this page.

Language Environment Code Snippet
HTML + CSS (Hex Code) Web #38121f
HTML + CSS (RGB Code) Web rgb(56, 18, 31)
CSS Background Color Web .myclass { background-color: #38121f; }
CSS Foreground + Text Color Web .myclass { color: #38121f; }
CSS Border Color Web .myclass { border: 2px solid #38121f; }
Java (Multi-platform) new Color(56, 18, 31);
Python (Multi-platform) Color("#38121f")
Swift iOS UIColor(red:56, green:18, blue:31, alpha:1.0000)
Objective-C (iOS) iOS [UIColor colorWithRed:56 green:18 blue:31 alpha:1.0000];
OpenGL (Graphics) glColor3f(56f, 18f, 31f);
C# / .NET Windows Color.FromArgb(56, 18, 31);
 

#38121f Color Blindness

Not everyone can see #38121f the same way. For those with color blindness, #38121f might look very, very different. Here, we simulate eight examples of color blindness, and how #38121f looks next to each one of them. In all cases, #38121f is placed in a circle in the upper-left corner of each of the below boxes, with the color in the rest of those boxes signifying how #38121f looks for someone with that type of color blindness. Many people will perceive close similarities between the colors in these boxes and the colors in the circles — with some noticing particular similarities. We offer this insight so that as you make choices about colors to use for your purposes, you can make an informed decision about whether #38121f will be a good fit for everyone in your audience!

Trichromacy

Protanomaly
Affects 1 in 100 Men & 1 in 10,000 Women

Deuteranomaly
Affects 1 in 17 Men & 1 in 250 Women

Tritanomaly
Affects 1 in 10,000

Dichromacy

Protanopia
Affects 1 in 100, Mostly Men

Deuteranopia
Affects 1 in 100, Mostly Men

Tritanopia
Affects 1 in 100,000

Monochromacy

Achromatopsia
Affects 1 in 20,000

Achromatopsia
Affects 1 in 100,000

Accessibility

Accessibility Recommended

We analyzed whether #38121f is an accessible color when used as a text / foreground color against a white background. This analysis is based on the Web Content Accessibility Guidelines (WCAG) 2 Level issued by W3C. Based on this analysis, we calculate a contrast ratio against white of approximately 16.5:1 against white. This is a high enough ratio to be considered accessible under both the AA and AAA level standards for either normal size or large text.

WCAG AA
Normal Size Text

WCAG AA
Large Size Text

WCAG AAA
Normal Size Text

WCAG AAA
Large Size Text