#261F28 color
The hex color #261F28 is a very dark, grayish magenta.
In the RGB color model it is made of 14.9% red, 12.2% green and 15.7% blue (38, 31, 40).
Its hue angle is 287°, with 13% saturation and 14% lightness. For print, the CMYK equivalent is 5% cyan, 22% magenta, 0% yellow and 84% black.
The closest named color is Night Demons (#201B20), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.04:1).
#261F28 color codes
| HEX | #261F28 | |
|---|---|---|
| RGB | rgb(38, 31, 40) | |
| RGB percent | rgb(14.9%, 12.2%, 15.7%) | |
| HSL | hsl(287, 13%, 14%) | |
| HSV / HSB | hsv(287, 23%, 16%) | |
| CMYK | cmyk(5%, 22%, 0%, 84%) | |
| CIE LAB | lab(12.89, 5.51, -4.8) | |
| CIE LCH | lch(12.89, 7.3, 318.92) | |
| CIE XYZ | xyz(1.672, 1.545, 2.217) | |
| Decimal | 2498344 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #261F28, 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 #261F28 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16.04:1 | Pass | Pass | Pass |
| #261F28 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.04:1 | Pass | Pass | Pass |
| Sample text | 1.31: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 #261F28 looks to people with the most common types of color vision deficiency.
#1e2128Protanopia
no red cones#202228Deuteranopia
no green cones#262022Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #261f28; }
.text { color: #261f28; }
.border { border: 2px solid #261f28; }
.transparent { background-color: rgb(38 31 40 / 50%); }
.gradient { background: linear-gradient(to right, #261f28, #281f25); }
Similar colors
#201b20Night Demons#252024Ink Black#1a161dViolet Void#342931Melanzane#2c2a35Haiti#27252aDarth Vader#352b30Mystical Shadow#34282cSmoky Charcoal
Closest common color name: Licorice.
Questions
- What color is #261F28?
- #261F28 is a very dark, grayish magenta, closest to the named color Night Demons. It belongs to the black family of colors.
- What is the RGB value of #261F28?
- The RGB value is 38, 31, 40: 38 red, 31 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #261F28?
- The complementary color is #21281F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #261F28?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16.04:1. WCAG asks for at least 4.5:1 for normal text.