#221B25 color
The hex color #221B25 is a very dark, grayish magenta.
In the RGB color model it is made of 13.3% red, 10.6% green and 14.5% blue (34, 27, 37).
Its hue angle is 282°, with 16% saturation and 13% lightness. For print, the CMYK equivalent is 8% cyan, 27% magenta, 0% yellow and 85% black.
The closest named color is Violet Void (#1A161D), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.78:1).
#221B25 color codes
| HEX | #221B25 | |
|---|---|---|
| RGB | rgb(34, 27, 37) | |
| RGB percent | rgb(13.3%, 10.6%, 14.5%) | |
| HSL | hsl(282, 16%, 13%) | |
| HSV / HSB | hsv(282, 27%, 15%) | |
| CMYK | cmyk(8%, 27%, 0%, 85%) | |
| CIE LAB | lab(10.98, 5.87, -5.54) | |
| CIE LCH | lch(10.98, 8.07, 316.62) | |
| CIE XYZ | xyz(1.385, 1.258, 1.92) | |
| Decimal | 2235173 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #221B25, 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 #221B25 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.25:1 | Fail | Fail | Fail |
| Sample text | 16.78:1 | Pass | Pass | Pass |
| #221B25 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.78:1 | Pass | Pass | Pass |
| Sample text | 1.25: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 #221B25 looks to people with the most common types of color vision deficiency.
#1a1d25Protanopia
no red cones#1b1e25Deuteranopia
no green cones#221c1eTritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #221b25; }
.text { color: #221b25; }
.border { border: 2px solid #221b25; }
.transparent { background-color: rgb(34 27 37 / 50%); }
.gradient { background: linear-gradient(to right, #221b25, #251b23); }
Similar colors
#1a161dViolet Void#201b20Night Demons#252024Ink Black#16141cBack in Black#1f1518Bats Cloak#222233Black Velvet#342931Melanzane#16161dEigengrau
Closest common color name: Licorice.
Questions
- What color is #221B25?
- #221B25 is a very dark, grayish magenta, closest to the named color Violet Void. It belongs to the black family of colors.
- What is the RGB value of #221B25?
- The RGB value is 34, 27, 37: 34 red, 27 green and 37 blue on a 0 to 255 scale.
- What is the complementary color of #221B25?
- The complementary color is #1E251B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #221B25?
- White text. Black text has a contrast ratio of 1.25:1 and white text 16.78:1. WCAG asks for at least 4.5:1 for normal text.