Recognised as Colour
#A6226C
- #A6226C
- Magenta
- Dark
- Nearest: Medium violet red
#A6226C is a magenta with RGB values 166, 34, 108 and HSL 326°, 66%, 39%. 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
#A6226C#A6226C
HEX#A6226C
RGBrgb(166, 34, 108)
RGB (0–1)0.651, 0.1333, 0.4235
RGB percentages65.1%, 13.3%, 42.4%
HSLhsl(326.4, 66%, 39.2%)
HSV / HSBhsv(326.4, 79.5%, 65.1%)
CMYK0%, 79.5%, 34.9%, 34.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer10,887,788
CSS custom property--colour: #A6226C;
Brightness & contrast
Relative luminance0.10334WCAG 2.x, 0 is black and 1 is white
Perceived brightness101.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.85:1
Contrast with white6.85:1WCAG normal text: AA
Contrast with black3.07:1WCAG normal text: Fail
Greyscale equivalent#434343
Inverted#59DD93
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.85:1WCAG large text: AAA
Contrast with black, large text3.07:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#22A65C
Analogous#9E22A6, #A6222A
Triadic#6CA622, #226CA6
Split complementary#2AA622, #22A69E
Tetradic#A69E22, #22A65C, #222AA6
Tints, shades & saturation
Channel breakdown
R166
G34
B108
Red166 (65.1%)
Green34 (13.3%)
Blue108 (42.4%)
Hue326.36°
Saturation (HSL)66%
Lightness39.22%
Dominant channelRed
Hex per channelR A6 · G 22 · B 6C
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