Recognised as Colour
#FF40C6
- #FF40C6
- Magenta
- Dark
- Nearest: Medium violet red
#FF40C6 is a magenta with RGB values 255, 64, 198 and HSL 318°, 100%, 63%. It is a dark colour, so black text on it reaches 6.8:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#FF40C6#FF40C6
HEX#FF40C6
RGBrgb(255, 64, 198)
RGB (0–1)1, 0.251, 0.7765
RGB percentages100%, 25.1%, 77.6%
HSLhsl(317.9, 100%, 62.5%)
HSV / HSBhsv(317.9, 74.9%, 100%)
CMYK0%, 74.9%, 22.4%, 0%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer16,728,262
CSS custom property--colour: #FF40C6;
Brightness & contrast
Relative luminance0.29004WCAG 2.x, 0 is black and 1 is white
Perceived brightness162.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 6.8:1
Contrast with white3.09:1WCAG normal text: Fail
Contrast with black6.8:1WCAG normal text: AA
Greyscale equivalent#727272
Inverted#00BF39
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.09:1WCAG large text: AA
Contrast with black, large text6.8:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#40FF79
Analogous#D840FF, #FF4067
Triadic#C6FF40, #40C6FF
Split complementary#67FF40, #40FFD8
Tetradic#FFD840, #40FF79, #4067FF
Tints, shades & saturation
Channel breakdown
R255
G64
B198
Red255 (100%)
Green64 (25.1%)
Blue198 (77.6%)
Hue317.91°
Saturation (HSL)100%
Lightness62.55%
Dominant channelRed
Hex per channelR FF · G 40 · B C6
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Also reads as
FF40C6 (chemical formula)
- Formula
- 850.984 g/mol
- 47 atoms
FF40C6 has a molar mass of 850.984 g/mol, made up of 47 atoms across 2 elements: 41 × F, 6 × C.
Molar mass
Molar mass850.984 g/mol
Total atoms per molecule47
Distinct elements2
Mass of one molecule1.4130922 × 10^-21 g
Molecules per gram7.0766792 × 10^20
Name
NameNot in the name tablea name cannot be worked out from a formula alone: isomers share formulas, and naming depends on bonding the formula does not show
Composition by mass
F91.5%
C8.5%
Fluorine (F × 41)778.918 g/mol, 91.531%
Carbon (C × 6)72.066 g/mol, 8.469%
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