#2F242D color
The hex color #2F242D is a very dark, grayish magenta.
In the RGB color model it is made of 18.4% red, 14.1% green and 17.6% blue (47, 36, 45).
Its hue angle is 311°, with 13% saturation and 16% lightness. For print, the CMYK equivalent is 0% cyan, 23% magenta, 4% yellow and 82% black.
The closest named color is Melanzane (#342931), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.88:1).
#2F242D color codes
| HEX | #2F242D | |
|---|---|---|
| RGB | rgb(47, 36, 45) | |
| RGB percent | rgb(18.4%, 14.1%, 17.6%) | |
| HSL | hsl(311, 13%, 16%) | |
| HSV / HSB | hsv(311, 23%, 18%) | |
| CMYK | cmyk(0%, 23%, 4%, 82%) | |
| CIE LAB | lab(15.78, 7.17, -3.96) | |
| CIE LCH | lch(15.78, 8.19, 331.1) | |
| CIE XYZ | xyz(2.277, 2.056, 2.759) | |
| Decimal | 3089453 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F242D, 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 #2F242D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.88:1 | Pass | Pass | Pass |
| #2F242D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.88:1 | Pass | Pass | Pass |
| Sample text | 1.41: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 #2F242D looks to people with the most common types of color vision deficiency.
#24262dProtanopia
no red cones#26282dDeuteranopia
no green cones#302427Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #2f242d; }
.text { color: #2f242d; }
.border { border: 2px solid #2f242d; }
.transparent { background-color: rgb(47 36 45 / 50%); }
.gradient { background: linear-gradient(to right, #2f242d, #2f2427); }
Similar colors
#342931Melanzane#34282cSmoky Charcoal#352b30Mystical Shadow#372528Aubergine#252024Ink Black#2c2a35Haiti#201b20Night Demons#3b2b2cHavana
Closest common color name: Licorice.
Questions
- What color is #2F242D?
- #2F242D is a very dark, grayish magenta, closest to the named color Melanzane. It belongs to the black family of colors.
- What is the RGB value of #2F242D?
- The RGB value is 47, 36, 45: 47 red, 36 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #2F242D?
- The complementary color is #242F26, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F242D?
- White text. Black text has a contrast ratio of 1.41:1 and white text 14.88:1. WCAG asks for at least 4.5:1 for normal text.