#8A2157 color
The hex color #8A2157 is a dark, moderate rose.
In the RGB color model it is made of 54.1% red, 12.9% green and 34.1% blue (138, 33, 87).
Its hue angle is 329°, with 61% saturation and 34% lightness. For print, the CMYK equivalent is 0% cyan, 76% magenta, 37% yellow and 46% black.
The closest named color is Pink Horror (#90305D), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.62:1).
#8A2157 color codes
| HEX | #8A2157 | |
|---|---|---|
| RGB | rgb(138, 33, 87) | |
| RGB percent | rgb(54.1%, 12.9%, 34.1%) | |
| HSL | hsl(329, 61%, 34%) | |
| HSV / HSB | hsv(329, 76%, 54%) | |
| CMYK | cmyk(0%, 76%, 37%, 46%) | |
| CIE LAB | lab(32.21, 48.11, -6.29) | |
| CIE LCH | lch(32.21, 48.51, 352.55) | |
| CIE XYZ | xyz(12.746, 7.181, 9.73) | |
| Decimal | 9052503 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8A2157, 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 #8A2157 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.44:1 | Fail | Fail | Fail |
| Sample text | 8.62:1 | Pass | Pass | Pass |
| #8A2157 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.62:1 | Pass | Pass | Pass |
| Sample text | 2.44: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 #8A2157 looks to people with the most common types of color vision deficiency.
#354058Protanopia
no red cones#525355Deuteranopia
no green cones#951739Tritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #8a2157; }
.text { color: #8a2157; }
.border { border: 2px solid #8a2157; }
.transparent { background-color: rgb(138 33 87 / 50%); }
.gradient { background: linear-gradient(to right, #8a2157, #8a2123); }
Similar colors
#90305dPink Horror#941751Wine Grape#990055Vertigo Cherry#991166Romantic Vampire#9e0e64Morbid Princess#7a2e4dFlirt#9900668 Bit Eggplant#9c2d5dThorne Wines
Closest common color name: Byzantium.
Questions
- What color is #8A2157?
- #8A2157 is a dark, moderate rose, closest to the named color Pink Horror. It belongs to the purple family of colors.
- What is the RGB value of #8A2157?
- The RGB value is 138, 33, 87: 138 red, 33 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #8A2157?
- The complementary color is #218A54, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8A2157?
- White text. Black text has a contrast ratio of 2.44:1 and white text 8.62:1. WCAG asks for at least 4.5:1 for normal text.