Recognised as Colour
#AF007E
- #AF007E
- Magenta
- Dark
- Nearest: Medium violet red
#AF007E is a magenta with RGB values 175, 0, 126 and HSL 317°, 100%, 34%. It is a dark colour, so white text on it reaches 6.7:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#AF007E#AF007E
HEX#AF007E
RGBrgb(175, 0, 126)
RGB (0–1)0.6863, 0, 0.4941
RGB percentages68.6%, 0%, 49.4%
HSLhsl(316.8, 100%, 34.3%)
HSV / HSBhsv(316.8, 100%, 68.6%)
CMYK0%, 100%, 28%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,468,926
CSS custom property--colour: #AF007E;
Brightness & contrast
Relative luminance0.1062WCAG 2.x, 0 is black and 1 is white
Perceived brightness104.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.72:1
Contrast with white6.72:1WCAG normal text: AA
Contrast with black3.12:1WCAG normal text: Fail
Greyscale equivalent#2E2E2E
Inverted#50FF81
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.72:1WCAG large text: AAA
Contrast with black, large text3.12:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#00AF31
Analogous#8800AF, #AF0027
Triadic#7EAF00, #007EAF
Split complementary#26AF00, #00AF88
Tetradic#AF8900, #00AF31, #0027AF
Tints, shades & saturation
Channel breakdown
R175
G0
B126
Red175 (68.6%)
Green0 (0%)
Blue126 (49.4%)
Hue316.8°
Saturation (HSL)100%
Lightness34.31%
Dominant channelRed
Hex per channelR AF · G 00 · 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