Recognised as Colour
#FF40AF
- #FF40AF
- Magenta
- Dark
- Nearest: Deep pink
#FF40AF is a magenta with RGB values 255, 64, 175 and HSL 325°, 100%, 63%. It is a dark colour, so black text on it reaches 6.6:1 contrast (AA for normal text). The nearest named colour is Deep pink.
Colour values
#FF40AF#FF40AF
HEX#FF40AF
RGBrgb(255, 64, 175)
RGB (0–1)1, 0.251, 0.6863
RGB percentages100%, 25.1%, 68.6%
HSLhsl(325.1, 100%, 62.5%)
HSV / HSBhsv(325.1, 74.9%, 100%)
CMYK0%, 74.9%, 31.4%, 0%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer16,728,239
CSS custom property--colour: #FF40AF;
Brightness & contrast
Relative luminance0.28022WCAG 2.x, 0 is black and 1 is white
Perceived brightness159.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 6.6:1
Contrast with white3.18:1WCAG normal text: Fail
Contrast with black6.6:1WCAG normal text: AA
Greyscale equivalent#717171
Inverted#00BF50
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.18:1WCAG large text: AA
Contrast with black, large text6.6:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#40FF90
Analogous#EF40FF, #FF4050
Triadic#AFFF40, #40AFFF
Split complementary#50FF40, #40FFEF
Tetradic#FFEF40, #40FF90, #4050FF
Tints, shades & saturation
Channel breakdown
R255
G64
B175
Red255 (100%)
Green64 (25.1%)
Blue175 (68.6%)
Hue325.13°
Saturation (HSL)100%
Lightness62.55%
Dominant channelRed
Hex per channelR FF · G 40 · B AF
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page