Recognised as Colour
#C2157B
- #C2157B
- Magenta
- Dark
- Nearest: Medium violet red
#C2157B is a magenta with RGB values 194, 21, 123 and HSL 325°, 80%, 42%. It is a dark colour, so white text on it reaches 5.7:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#C2157B#C2157B
HEX#C2157B
RGBrgb(194, 21, 123)
RGB (0–1)0.7608, 0.0824, 0.4824
RGB percentages76.1%, 8.2%, 48.2%
HSLhsl(324.6, 80.5%, 42.2%)
HSV / HSBhsv(324.6, 89.2%, 76.1%)
CMYK0%, 89.2%, 36.6%, 23.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer12,719,483
CSS custom property--colour: #C2157B;
Brightness & contrast
Relative luminance0.13436WCAG 2.x, 0 is black and 1 is white
Perceived brightness115.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.7:1
Contrast with white5.7:1WCAG normal text: AA
Contrast with black3.69:1WCAG normal text: Fail
Greyscale equivalent#414141
Inverted#3DEA84
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.7:1WCAG large text: AAA
Contrast with black, large text3.69:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#15C25C
Analogous#B315C2, #C21524
Triadic#7BC215, #157BC2
Split complementary#24C215, #15C2B3
Tetradic#C2B315, #15C25C, #1525C2
Tints, shades & saturation
Channel breakdown
R194
G21
B123
Red194 (76.1%)
Green21 (8.2%)
Blue123 (48.2%)
Hue324.62°
Saturation (HSL)80.47%
Lightness42.16%
Dominant channelRed
Hex per channelR C2 · G 15 · B 7B
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Also reads as
C2157B (chemical formula)
- Formula
- 25,918.537 g/mol
- 2158 atoms
C2157B has a molar mass of 25,918.537 g/mol, made up of 2158 atoms across 2 elements: 2157 × C, 1 × B.
Molar mass
Molar mass25,918.537 g/mol
Total atoms per molecule2158
Distinct elements2
Mass of one molecule4.3038743 × 10^-20 g
Molecules per gram2.3234879 × 10^19
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
C100%
B0%
Carbon (C × 2157)25,907.727 g/mol, 99.958%
Boron (B)10.81 g/mol, 0.042%
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