Recognised as Colour
#FF40D7
- #FF40D7
- Magenta
- Dark
- Nearest: Medium orchid
#FF40D7 is a magenta with RGB values 255, 64, 215 and HSL 313°, 100%, 63%. It is a dark colour, so black text on it reaches 7:1 contrast (AA for normal text). The nearest named colour is Medium orchid.
Colour values
#FF40D7#FF40D7
HEX#FF40D7
RGBrgb(255, 64, 215)
RGB (0–1)1, 0.251, 0.8431
RGB percentages100%, 25.1%, 84.3%
HSLhsl(312.6, 100%, 62.5%)
HSV / HSBhsv(312.6, 74.9%, 100%)
CMYK0%, 74.9%, 15.7%, 0%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer16,728,279
CSS custom property--colour: #FF40D7;
Brightness & contrast
Relative luminance0.29833WCAG 2.x, 0 is black and 1 is white
Perceived brightness164.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 6.97:1
Contrast with white3.01:1WCAG normal text: Fail
Contrast with black6.97:1WCAG normal text: AA
Greyscale equivalent#747474
Inverted#00BF28
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.01:1WCAG large text: AA
Contrast with black, large text6.97:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#40FF68
Analogous#C740FF, #FF4078
Triadic#D7FF40, #40D7FF
Split complementary#78FF40, #40FFC7
Tetradic#FFC740, #40FF68, #4078FF
Tints, shades & saturation
Channel breakdown
R255
G64
B215
Red255 (100%)
Green64 (25.1%)
Blue215 (84.3%)
Hue312.57°
Saturation (HSL)100%
Lightness62.55%
Dominant channelRed
Hex per channelR FF · G 40 · B D7
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