Recognised as Colour
#C12787
- #C12787
- Magenta
- Dark
- Nearest: Medium violet red
#C12787 is a magenta with RGB values 193, 39, 135 and HSL 323°, 66%, 45%. It is a dark colour, so white text on it reaches 5.4:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#C12787#C12787
HEX#C12787
RGBrgb(193, 39, 135)
RGB (0–1)0.7569, 0.1529, 0.5294
RGB percentages75.7%, 15.3%, 52.9%
HSLhsl(322.6, 66.4%, 45.5%)
HSV / HSBhsv(322.6, 79.8%, 75.7%)
CMYK0%, 79.8%, 30.1%, 24.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer12,658,567
CSS custom property--colour: #C12787;
Brightness & contrast
Relative luminance0.14538WCAG 2.x, 0 is black and 1 is white
Perceived brightness118.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.37:1
Contrast with white5.37:1WCAG normal text: AA
Contrast with black3.91:1WCAG normal text: Fail
Greyscale equivalent#4F4F4F
Inverted#3ED878
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.37:1WCAG large text: AAA
Contrast with black, large text3.91:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#27C161
Analogous#AE27C1, #C1273A
Triadic#87C127, #2787C1
Split complementary#3AC127, #27C1AE
Tetradic#C1AE27, #27C161, #273AC1
Tints, shades & saturation
Channel breakdown
R193
G39
B135
Red193 (75.7%)
Green39 (15.3%)
Blue135 (52.9%)
Hue322.6°
Saturation (HSL)66.38%
Lightness45.49%
Dominant channelRed
Hex per channelR C1 · G 27 · B 87
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
C12787 (chemical formula)
- Formula
- 153,584.657 g/mol
- 12787 atoms
C12787 has a molar mass of 153,584.657 g/mol, made up of 12787 atoms across 1 element: 12787 × C.
Molar mass
Molar mass153,584.657 g/mol
Total atoms per molecule12787
Distinct elements1
Mass of one molecule2.5503332 × 10^-19 g
Molecules per gram3.9210562 × 10^18
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%
Carbon (C × 12787)153,584.657 g/mol, 100%
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Elements in this formula
Nerdulate something else
Nothing in mind? Surprise me · today’s page