#251B25 color
The hex color #251B25 is a very dark, grayish magenta.
In the RGB color model it is made of 14.5% red, 10.6% green and 14.5% blue (37, 27, 37).
Its hue angle is 300°, with 16% saturation and 13% lightness. For print, the CMYK equivalent is 0% cyan, 27% magenta, 0% yellow and 85% black.
The closest named color is Night Demons (#201B20), a difference of 4.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.64:1).
#251B25 color codes
| HEX | #251B25 | |
|---|---|---|
| RGB | rgb(37, 27, 37) | |
| RGB percent | rgb(14.5%, 10.6%, 14.5%) | |
| HSL | hsl(300, 16%, 13%) | |
| HSV / HSB | hsv(300, 27%, 15%) | |
| CMYK | cmyk(0%, 27%, 0%, 85%) | |
| CIE LAB | lab(11.35, 7.21, -4.94) | |
| CIE LCH | lch(11.35, 8.74, 325.58) | |
| CIE XYZ | xyz(1.489, 1.311, 1.924) | |
| Decimal | 2431781 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #251B25, 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 #251B25 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.64:1 | Pass | Pass | Pass |
| #251B25 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.64:1 | Pass | Pass | Pass |
| Sample text | 1.26: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 #251B25 looks to people with the most common types of color vision deficiency.
#1a1d25Protanopia
no red cones#1d1f25Deuteranopia
no green cones#261c1eTritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #251b25; }
.text { color: #251b25; }
.border { border: 2px solid #251b25; }
.transparent { background-color: rgb(37 27 37 / 50%); }
.gradient { background: linear-gradient(to right, #251b25, #251b20); }
Similar colors
#201b20Night Demons#1a161dViolet Void#1f1518Bats Cloak#342931Melanzane#252024Ink Black#1d0d1dShot in the Dark#180614Crow#150811Noir Fiction
Closest common color name: Licorice.
Questions
- What color is #251B25?
- #251B25 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 #251B25?
- The RGB value is 37, 27, 37: 37 red, 27 green and 37 blue on a 0 to 255 scale.
- What is the complementary color of #251B25?
- The complementary color is #1B251B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #251B25?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.64:1. WCAG asks for at least 4.5:1 for normal text.