Recognised as Colour
#B2018A
- #B2018A
- Magenta
- Dark
- Nearest: Medium violet red
#B2018A is a magenta with RGB values 178, 1, 138 and HSL 314°, 99%, 35%. It is a dark colour, so white text on it reaches 6.4:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#B2018A#B2018A
HEX#B2018A
RGBrgb(178, 1, 138)
RGB (0–1)0.698, 0.0039, 0.5412
RGB percentages69.8%, 0.4%, 54.1%
HSLhsl(313.6, 98.9%, 35.1%)
HSV / HSBhsv(313.6, 99.4%, 69.8%)
CMYK0%, 99.4%, 22.5%, 30.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,665,802
CSS custom property--colour: #B2018A;
Brightness & contrast
Relative luminance0.11322WCAG 2.x, 0 is black and 1 is white
Perceived brightness107.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.43:1
Contrast with white6.43:1WCAG normal text: AA
Contrast with black3.26:1WCAG normal text: Fail
Greyscale equivalent#313131
Inverted#4DFE75
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.43:1WCAG large text: AAA
Contrast with black, large text3.26:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#01B229
Analogous#8101B2, #B20132
Triadic#8AB201, #018AB2
Split complementary#32B201, #01B281
Tetradic#B28101, #01B229, #0132B2
Tints, shades & saturation
Channel breakdown
R178
G1
B138
Red178 (69.8%)
Green1 (0.4%)
Blue138 (54.1%)
Hue313.56°
Saturation (HSL)98.88%
Lightness35.1%
Dominant channelRed
Hex per channelR B2 · G 01 · B 8A
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