#5F5259 color
The hex color #5F5259 is a gray.
In the RGB color model it is made of 37.3% red, 32.2% green and 34.9% blue (95, 82, 89).
Its hue angle is 328°, with 7% saturation and 35% lightness. For print, the CMYK equivalent is 0% cyan, 14% magenta, 6% yellow and 63% black.
The closest named color is Pinot Noir (#605258), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.4:1).
#5F5259 color codes
| HEX | #5F5259 | |
|---|---|---|
| RGB | rgb(95, 82, 89) | |
| RGB percent | rgb(37.3%, 32.2%, 34.9%) | |
| HSL | hsl(328, 7%, 35%) | |
| HSV / HSB | hsv(328, 14%, 37%) | |
| CMYK | cmyk(0%, 14%, 6%, 63%) | |
| CIE LAB | lab(36.35, 6.74, -2.1) | |
| CIE LCH | lch(36.35, 7.06, 342.68) | |
| CIE XYZ | xyz(9.54, 9.189, 10.72) | |
| Decimal | 6247001 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F5259, 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 #5F5259 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.84:1 | Fail | Fail | Fail |
| Sample text | 7.4:1 | Pass | Pass | Pass |
| #5F5259 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.4:1 | Pass | Pass | Pass |
| Sample text | 2.84: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 #5F5259 looks to people with the most common types of color vision deficiency.
#535459Protanopia
no red cones#555659Deuteranopia
no green cones#615254Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #5f5259; }
.text { color: #5f5259; }
.border { border: 2px solid #5f5259; }
.transparent { background-color: rgb(95 82 89 / 50%); }
.gradient { background: linear-gradient(to right, #5f5259, #5f5252); }
Similar colors
#605258Pinot Noir#625665Fedora#635d63Wonder Wine#554747Chinotto#676168Excalibur#524b4bMatterhorn#4f4554Black Magic#525054Magnet
Closest common color name: Umber.
Questions
- What color is #5F5259?
- #5F5259 is a gray, closest to the named color Pinot Noir. It belongs to the gray family of colors.
- What is the RGB value of #5F5259?
- The RGB value is 95, 82, 89: 95 red, 82 green and 89 blue on a 0 to 255 scale.
- What is the complementary color of #5F5259?
- The complementary color is #525F58, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F5259?
- White text. Black text has a contrast ratio of 2.84:1 and white text 7.4:1. WCAG asks for at least 4.5:1 for normal text.