Recognised as Colour
#AF28AA
- #AF28AA
- Magenta
- Dark
- Nearest: Dark magenta
#AF28AA is a magenta with RGB values 175, 40, 170 and HSL 302°, 63%, 42%. It is a dark colour, so white text on it reaches 5.7:1 contrast (AA for normal text). The nearest named colour is Dark magenta.
Colour values
#AF28AA#AF28AA
HEX#AF28AA
RGBrgb(175, 40, 170)
RGB (0–1)0.6863, 0.1569, 0.6667
RGB percentages68.6%, 15.7%, 66.7%
HSLhsl(302.2, 62.8%, 42.2%)
HSV / HSBhsv(302.2, 77.1%, 68.6%)
CMYK0%, 77.1%, 2.9%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,479,210
CSS custom property--colour: #AF28AA;
Brightness & contrast
Relative luminance0.13534WCAG 2.x, 0 is black and 1 is white
Perceived brightness115.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.67:1
Contrast with white5.67:1WCAG normal text: AA
Contrast with black3.71:1WCAG normal text: Fail
Greyscale equivalent#4E4E4E
Inverted#50D755
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.67:1WCAG large text: AAA
Contrast with black, large text3.71:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#28AF2D
Analogous#7028AF, #AF2867
Triadic#AAAF28, #28AAAF
Split complementary#66AF28, #28AF70
Tetradic#AF7128, #28AF2D, #2867AF
Tints, shades & saturation
Channel breakdown
R175
G40
B170
Red175 (68.6%)
Green40 (15.7%)
Blue170 (66.7%)
Hue302.22°
Saturation (HSL)62.79%
Lightness42.16%
Dominant channelRed
Hex per channelR AF · G 28 · B AA
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