#514252 color
The hex color #514252 is a dark, grayish magenta.
In the RGB color model it is made of 31.8% red, 25.9% green and 32.2% blue (81, 66, 82).
Its hue angle is 296°, with 11% saturation and 29% lightness. For print, the CMYK equivalent is 1% cyan, 20% magenta, 0% yellow and 68% black.
The closest named color is Black Magic (#4F4554), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.33:1).
#514252 color codes
| HEX | #514252 | |
|---|---|---|
| RGB | rgb(81, 66, 82) | |
| RGB percent | rgb(31.8%, 25.9%, 32.2%) | |
| HSL | hsl(296, 11%, 29%) | |
| HSV / HSB | hsv(296, 20%, 32%) | |
| CMYK | cmyk(1%, 20%, 0%, 68%) | |
| CIE LAB | lab(30.05, 9.74, -7.17) | |
| CIE LCH | lch(30.05, 12.09, 323.66) | |
| CIE XYZ | xyz(6.864, 6.255, 8.827) | |
| Decimal | 5325394 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #514252, 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 #514252 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.25:1 | Fail | Fail | Fail |
| Sample text | 9.33:1 | Pass | Pass | Pass |
| #514252 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.33:1 | Pass | Pass | Pass |
| Sample text | 2.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 #514252 looks to people with the most common types of color vision deficiency.
#414653Protanopia
no red cones#444751Deuteranopia
no green cones#524347Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #514252; }
.text { color: #514252; }
.border { border: 2px solid #514252; }
.transparent { background-color: rgb(81 66 82 / 50%); }
.gradient { background: linear-gradient(to right, #514252, #52424b); }
Similar colors
#4f4554Black Magic#403547Royal Decree#42364cCall It a Night#443240Voodoo#544563Nightly Walk#413d4bItalian Grape#483c41Pitch Black#614051Eggplant
Questions
- What color is #514252?
- #514252 is a dark, grayish magenta, closest to the named color Black Magic. It belongs to the gray family of colors.
- What is the RGB value of #514252?
- The RGB value is 81, 66, 82: 81 red, 66 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #514252?
- The complementary color is #435242, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #514252?
- White text. Black text has a contrast ratio of 2.25:1 and white text 9.33:1. WCAG asks for at least 4.5:1 for normal text.