#271525 color
The hex color #271525 is a very dark, desaturated magenta.
In the RGB color model it is made of 15.3% red, 8.2% green and 14.5% blue (39, 21, 37).
Its hue angle is 307°, with 30% saturation and 12% lightness. For print, the CMYK equivalent is 0% cyan, 46% magenta, 5% yellow and 85% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.21:1).
#271525 color codes
| HEX | #271525 | |
|---|---|---|
| RGB | rgb(39, 21, 37) | |
| RGB percent | rgb(15.3%, 8.2%, 14.5%) | |
| HSL | hsl(307, 30%, 12%) | |
| HSV / HSB | hsv(307, 46%, 15%) | |
| CMYK | cmyk(0%, 46%, 5%, 85%) | |
| CIE LAB | lab(9.81, 12.44, -7.26) | |
| CIE LCH | lch(9.81, 14.4, 329.75) | |
| CIE XYZ | xyz(1.439, 1.101, 1.887) | |
| Decimal | 2561317 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #271525, 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 #271525 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.21:1 | Pass | Pass | Pass |
| #271525 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.21:1 | Pass | Pass | Pass |
| Sample text | 1.22: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 #271525 looks to people with the most common types of color vision deficiency.
#141a26Protanopia
no red cones#191c24Deuteranopia
no green cones#28161bTritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #271525; }
.text { color: #271525; }
.border { border: 2px solid #271525; }
.transparent { background-color: rgb(39 21 37 / 50%); }
.gradient { background: linear-gradient(to right, #271525, #27151c); }
Similar colors
#1d0d1dShot in the Dark#2c1620Black Cherry#301934Dark Purple#180614Crow#2b0f2eDark Prom Queen#220011Belladonna#391531Nightly Voyager#110011Glossy Black
Questions
- What color is #271525?
- #271525 is a very dark, desaturated magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #271525?
- The RGB value is 39, 21, 37: 39 red, 21 green and 37 blue on a 0 to 255 scale.
- What is the complementary color of #271525?
- The complementary color is #152717, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #271525?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.21:1. WCAG asks for at least 4.5:1 for normal text.