Recognised as Colour
#A8197E
- #A8197E
- Magenta
- Dark
- Nearest: Medium violet red
#A8197E is a magenta with RGB values 168, 25, 126 and HSL 318°, 74%, 38%. It is a dark colour, so white text on it reaches 6.8:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#A8197E#A8197E
HEX#A8197E
RGBrgb(168, 25, 126)
RGB (0–1)0.6588, 0.098, 0.4941
RGB percentages65.9%, 9.8%, 49.4%
HSLhsl(317.6, 74.1%, 37.8%)
HSV / HSBhsv(317.6, 85.1%, 65.9%)
CMYK0%, 85.1%, 25%, 34.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,016,574
CSS custom property--colour: #A8197E;
Brightness & contrast
Relative luminance0.10526WCAG 2.x, 0 is black and 1 is white
Perceived brightness103 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.76:1
Contrast with white6.76:1WCAG normal text: AA
Contrast with black3.11:1WCAG normal text: Fail
Greyscale equivalent#3F3F3F
Inverted#57E681
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.76:1WCAG large text: AAA
Contrast with black, large text3.11:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#19A843
Analogous#8A19A8, #A81937
Triadic#7EA819, #197EA8
Split complementary#37A819, #19A88A
Tetradic#A88A19, #19A843, #1937A8
Tints, shades & saturation
Channel breakdown
R168
G25
B126
Red168 (65.9%)
Green25 (9.8%)
Blue126 (49.4%)
Hue317.62°
Saturation (HSL)74.09%
Lightness37.84%
Dominant channelRed
Hex per channelR A8 · G 19 · B 7E
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page