Recognised as Colour
#BA027F
- #BA027F
- Magenta
- Dark
- Nearest: Medium violet red
#BA027F is a magenta with RGB values 186, 2, 127 and HSL 319°, 98%, 37%. It is a dark colour, so white text on it reaches 6.2:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#BA027F#BA027F
HEX#BA027F
RGBrgb(186, 2, 127)
RGB (0–1)0.7294, 0.0078, 0.498
RGB percentages72.9%, 0.8%, 49.8%
HSLhsl(319.2, 97.9%, 36.9%)
HSV / HSBhsv(319.2, 98.9%, 72.9%)
CMYK0%, 98.9%, 31.7%, 27.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer12,190,335
CSS custom property--colour: #BA027F;
Brightness & contrast
Relative luminance0.12015WCAG 2.x, 0 is black and 1 is white
Perceived brightness110.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.17:1
Contrast with white6.17:1WCAG normal text: AA
Contrast with black3.4:1WCAG normal text: Fail
Greyscale equivalent#323232
Inverted#45FD80
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.17:1WCAG large text: AAA
Contrast with black, large text3.4:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#02BA3D
Analogous#9902BA, #BA0223
Triadic#7FBA02, #027FBA
Split complementary#23BA02, #02BA99
Tetradic#BA9902, #02BA3D, #0223BA
Tints, shades & saturation
Channel breakdown
R186
G2
B127
Red186 (72.9%)
Green2 (0.8%)
Blue127 (49.8%)
Hue319.24°
Saturation (HSL)97.87%
Lightness36.86%
Dominant channelRed
Hex per channelR BA · G 02 · B 7F
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